Winnovative Excel Library

ExcelWorksheetsCollection Class

Winnovative Excel Library Documentation
Represents the collection of Excel worksheets in a workbook
Inheritance Hierarchy

SystemObject
  Winnovative.ExcelLibExcelWorksheetsCollection

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets the worksheets collection enumerator
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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 the worksheet with the specified name from collection
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference