示例#1
0
        /// <summary>
        /// Returns a list of worksheet names that the spreadsheet contains
        /// </summary>
        public IEnumerable <string> GetWorksheetNames()
        {
            if (String.IsNullOrEmpty(FileName))
            {
                throw new NullReferenceException("FileName property is not set");
            }

            return(ExcelUtilities.GetWorksheetNames(FileName));
        }