[]
Gets the index of a given XLExternalBook in the collection.
public int IndexOf(XLExternalBook sheet)
Type | Name | Description |
---|---|---|
XLExternalBook | 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 fileName)
Type | Name | Description |
---|---|---|
string | fileName | 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. |