Beispiel #1
0
        /// <summary>
        /// Returns a list of worksheet-scope named ranges that the worksheet contains
        /// </summary>
        /// <param name="worksheetName">Name of the worksheet</param>
        public IEnumerable <string> GetNamedRanges(string worksheetName)
        {
            if (String.IsNullOrEmpty(FileName))
            {
                throw new NullReferenceException("FileName property is not set");
            }

            return(ExcelUtilities.GetNamedRanges(FileName, worksheetName));
        }