Click or drag to resize

ExcelWorksheetsCollection Class

Represents the collection of Excel worksheets in a workbook
Inheritance Hierarchy
SystemObject
  ExpertXls.ExcelLibExcelWorksheetsCollection

Namespace: ExpertXls.ExcelLib
Assembly: expertxls (in expertxls.dll) Version: 9.0.0
Syntax
public class ExcelWorksheetsCollection : IEnumerable

The ExcelWorksheetsCollection type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of worksheets in the collection.
Public propertyItemInt32 Gets the worksheet at worksheetIndex from the collection.
Public propertyItemString Gets the worksheet with the specified name from the collection.
Top
Methods
 NameDescription
Public methodAddWorksheet Adds a new worksheet to the worksheets collection
Public methodAddWorksheet(String) Adds a new worksheet with the specified name to the worksheets collection
Public methodGetEnumerator Gets the worksheets collection enumerator
Public methodRemoveWorksheet(ExcelWorksheet) Removes the specified worksheet from collection
Public methodRemoveWorksheet(Int32) Removes the worksheet at the specified zero based index from collection.
Public methodRemoveWorksheet(String) Removes the worksheet with the specified name from collection
Top
See Also