Represents the collection of Excel worksheets in a workbook
| C# | Visual Basic | Visual C++ |
public class ExcelWorksheetsCollection : IEnumerable
Public Class ExcelWorksheetsCollection _ Implements IEnumerable
public ref class ExcelWorksheetsCollection : IEnumerable
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| AddWorksheet()()() |
Adds a new worksheet to the worksheets collection
| |
| AddWorksheet(String) |
Adds a new worksheet with the specified name to the worksheets collection
| |
| Count |
Gets the number of worksheets in the collection.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator()()() |
Gets the worksheets collection enumerator
| |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Item[([(Int32])]) |
Gets the worksheet at worksheetIndex from the collection.
| |
| Item[([(String])]) |
Gets the worksheet with the specified name from the collection.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RemoveWorksheet(ExcelWorksheet) |
Removes the specified worksheet from collection
| |
| RemoveWorksheet(String) |
Removes the the worksheet with the specified name from collection
| |
| RemoveWorksheet(Int32) |
Removes the worksheet at the specified zero based index from collection.
| |
| ToString()()() | (Inherited from Object.) |
| Object | |
| ExcelWorksheetsCollection | |