Occurs after items in the collection have been added or removed Syntax Event Data The event handler receives an argument of type NotifyCollectionChangedEventArgs containing data related to this event. The following NotifyCollectionChangedEventArgs properties provide information specific to this event.Property Desc...
Determines whether a worksheet is in the collection. Syntax Parameters worksheet The worksheet to locate in the collection. Return Value True if the worksheet is found; False otherwise.
Gets the number of worksheets in the collection. Syntax Property Value The number of worksheets in the collection.
Determines whether a worksheet with the specified name exists in the collection. Syntax Parameters name The name of the worksheet to search for. The name is compared case-insensitively. Return Value True if a worksheet with the specified name is found; False otherwise.
Gets the index of the specified worksheet in the collection. Syntax Parameters worksheet The worksheet of which to get the index. Return Value The index of the specified worksheet in the collection.
Gets the worksheet at the specified index. Syntax Parameters index The zero-based index of the worksheet to get. Property Value The worksheet at the specified index. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than zero or index is greater than or equal to Count.
Gets the worksheet with the specified name. Syntax Parameters name The name of the worksheet to get. Property Value The worksheet with the specified name. Exceptions Exception Description System.InvalidOperationException A worksheet with the specified name does not exist in the collection. Remarks Worksheet names ...
Gets the worksheet at the specified index. Overload List Exceptions Exception Description System.ArgumentOutOfRangeException index is less than zero or index is greater than or equal to Count.
Occurs after a property value has changed Syntax Event Data The event handler receives an argument of type PropertyChangedEventArgs containing data related to this event. The following PropertyChangedEventArgs properties provide information specific to this event.Property Description PropertyName
Removes the specified worksheet from the collection. Syntax Parameters worksheet The worksheet to remove from the collection. Return Value True if the worksheet was successfully removed from the collection; False if the worksheet did not exist in the collection. Remarks If there are any NamedReference instances in...