[]
Gets the index of a given XLSheet in the collection.
public int IndexOf(XLSheet sheet)
Type | Name | Description |
---|---|---|
XLSheet | sheet | The object to look for. |
Type | Description |
---|---|
int | The index of the object in the collection, or -1 if the object is not a member of the collection. |
Gets the position of the sheet with the specified name in the collection.
public int IndexOf(string name)
Type | Name | Description |
---|---|---|
string | name | Name of the object to look for (case-insensitive). |
Type | Description |
---|---|
int | The index of the sheet in the collection, or -1 if the sheet can't be found in the collection. |