Version

WorksheetCollection Class Members

The following tables list the members exposed by WorksheetCollection.

Public Properties
 NameDescription
Public PropertyCountGets the number of worksheets in the collection.  
Public PropertyItemOverloaded. Gets the worksheet at the specified index.  
Public Methods
 NameDescription
Public MethodAddCreates a new Worksheet and adds it to the collection.  
Public MethodClearClears all worksheets from the collection.  
Public MethodContainsDetermines whether a worksheet is in the collection.  
Public MethodExistsDetermines whether a worksheet with the specified name exists in the collection.  
Public MethodIndexOfGets the index of the specified worksheet in the collection.  
Public MethodRemoveRemoves the specified worksheet from the collection.  
Public MethodRemoveAtRemoves the worksheet at the specified index from the collection.  
Public Events
 NameDescription
Public EventCollectionChangedOccurs after items in the collection have been added or removed  
Public EventPropertyChangedOccurs after a property value has changed  
See Also