Click or drag to resize

ExcelWorksheetCollection Class

Collection of (worksheets).
Inheritance Hierarchy
SystemObject
  SautinSoft.ExcelExcelWorksheetCollection

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.2.6
Syntax
public sealed class ExcelWorksheetCollection : IEnumerable

The ExcelWorksheetCollection type exposes the following members.

Properties
 NameDescription
Public propertyActiveWorksheet Gets or sets active worksheet.
Public propertyCount Gets the number of elements contained in the ExcelWorksheetCollection.
Public propertyItemInt32 Gets the worksheet with the specified index.
Public propertyItemString Gets the worksheet with the specified name.
Top
Methods
 NameDescription
Public methodAdd Adds an empty worksheet to the end of the collection.
Public methodAddCopy Adds a copy of an existing worksheet to the end of the collection.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetEnumerator Returns an enumerator for the ExcelWorksheetCollection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also