Version

Search Results

CollectionChanged Event

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...

Contains Method (WorksheetCollection)

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.

Count Property (WorksheetCollection)

Gets the number of worksheets in the collection. Syntax Property Value The number of worksheets in the collection.

Exists Method (WorksheetCollection)

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.

IndexOf Method (WorksheetCollection)

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.

Item(Int32) Property

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.

Item(String) Property

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 ...

Item Property (WorksheetCollection)

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.

PropertyChanged Event (WorksheetCollection)

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

Remove Method (WorksheetCollection)

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...