[]
Defines a collection of sheets.
public class SheetViewCollection : CollectionBase, IList, ICollection, IEnumerable
Public Class SheetViewCollection
Inherits CollectionBase
Implements IList, ICollection, IEnumerable
Name | Description |
---|---|
Count | Gets or sets the number of sheets in a collection. |
this[int] | Gets or sets the sheet at a specific position in the collection. |
this[string] | Gets or sets the sheet (SheetView object) at the specified position in the collection. |
Name | Description |
---|---|
Add(SheetView) | Adds a sheet to a collection. |
AddRange(ICollection) | Adds a range of sheets to a collection. |
Contains(SheetView) | Specifies whether a specified sheet is in the collection. |
Contains(string) | Specifies whether a specified sheet is in the collection. |
CopyTo(SheetView[], int) | Copies the sheets in the collection to an array. |
GetSheetView(string) | Gets the sheet with the specified name from the collection. |
IndexOf(SheetView) | Gets the index of a specified sheet in the collection. |
Insert(int, SheetView) | Inserts a specified sheet at a specified place in the collection. |
Move(int, int) | Moves the specified SheetView to a different index in the collection. |
OnClear() | Processes the OnClear event, which clears the collection. |
OnInsert(int, object) | Process the OnInsert event which insert a sheet into the collection |
OnInsertComplete(int, object) | Processes the OnInsertComplete event, which inserts a sheet in the collection. |
OnRemove(int, object) | Processes the OnRemove event, which removes a sheet in the collection. |
OnRemoveComplete(int, object) | Performs additional custom processes after removing an element from the SheetViewCollection instance. |
OnSet(int, object, object) | Processes the OnSet event, which sets a new sheet in the collection. |
OnSetComplete(int, object, object) | Processes the OnSetComplete event, which sets a new sheet in the collection. |
OnValidate(object) | Processes the OnValidate event, which validates a sheet in the collection. |
Remove(SheetView) | Removes a specified sheet from a collection. |