Click or drag to resize
WorksheetCollection Methods

The WorksheetCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Creates a new sheet and adds it to the collection.
(Inherited from FilteredSheetCollectionT.)
Public methodClear
Clears this instance.
(Inherited from FilteredSheetCollectionT.)
Public methodContains(String)
Determines whether the collection contains a sheet with the specified sheet name.
(Inherited from FilteredSheetCollectionT.)
Public methodContains(T)
Determines whether the collection contains the specified sheet.
(Inherited from FilteredSheetCollectionT.)
Public methodGetByName
Gets the sheet by name. The search is case insensitive.
(Inherited from FilteredSheetCollectionT.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from FilteredSheetCollectionT.)
Public methodIndexOf(String)
Searches for the specified item by its name and returns the zero-based index of the first occurrence within the entire collection. .
(Inherited from FilteredSheetCollectionT.)
Public methodIndexOf(T)
Searches for the specified item and returns the zero-based index of the first occurrence within the entire collection.
(Inherited from FilteredSheetCollectionT.)
Public methodInsert
Creates a new sheet and inserts it in the collection at the specified index.
(Inherited from FilteredSheetCollectionT.)
Public methodRemove(String)
Removes a sheet by the specified sheet name.
(Inherited from FilteredSheetCollectionT.)
Public methodRemove(T)
Removes the specified item.
(Inherited from FilteredSheetCollectionT.)
Public methodRemoveAt
Removes a sheet at the specified index.
(Inherited from FilteredSheetCollectionT.)
Top
See Also