[]
Gets the index of a given ImageEntry in the collection.
public int IndexOf(ImageEntry entry)
Type | Name | Description |
---|---|---|
ImageEntry | entry | ImageEntry to locate in th collection. |
Type | Description |
---|---|
int | The index of the ImageEntry in the collection, or -1 if the collection does not contain the key. |
The entry
parameter is not case-sensitive.
Gets the index of the ImageEntry with a given key.
public int IndexOf(string key)
Type | Name | Description |
---|---|---|
string | key | String that identifies the ImageEntry. |
Type | Description |
---|---|
int | The index of the ImageEntry in the collection, or -1 if the collection does not contain the key. |
The key
parameter is not case-sensitive.