[]
Gets or sets the sheet (SheetView object) at the specified position in the collection.
public SheetView this[int index] { get; set; }
Public Default Property Item(index As Integer) As SheetView
| Type | Name | Description |
|---|---|---|
| int | index |
| Type | Condition |
|---|---|
| Exception | Specified sheet index is invalid; must be between 0 and total number of sheets in the collection |
| ArgumentNullException | Sheet index is not specified (that is, specified index is null) |
Gets or sets the sheet (SheetView object) at the specified position in the collection.
public SheetView this[string index] { get; set; }
Public Default Property Item(index As String) As SheetView
| Type | Name | Description |
|---|---|---|
| string | index |
| Type | Condition |
|---|---|
| Exception | Specified sheet name is not found in the sheet collection. |
| ArgumentNullException | Sheet name is not specified (that is, specified index is null or empty) |