ExcelWorksheetsCollection Class

Represents the collection of Excel worksheets in a workbook

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public class ExcelWorksheetsCollection : IEnumerable
Inheritance
Object    ExcelWorksheetsCollection
Implements
IEnumerable

Properties

Count Gets the number of worksheets in the collection.
ItemInt32 Gets the worksheet at worksheetIndex from the collection.
ItemString Gets the worksheet with the specified name from the collection.

Methods

AddWorksheet Adds a new worksheet to the worksheets collection
AddWorksheet(String) Adds a new worksheet with the specified name to the worksheets collection
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetEnumerator Gets the worksheets collection enumerator
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
RemoveWorksheet(ExcelWorksheet) Removes the specified worksheet from collection
RemoveWorksheet(Int32) Removes the worksheet at the specified zero based index from collection.
RemoveWorksheet(String) Removes the the worksheet with the specified name from collection
ToString
(Inherited from Object)

See Also