[]
Returns the 0-based index of a NamedCollectionItem with specified name in the current NamedCollection.
public int IndexOfName(string name)
Type | Name | Description |
---|---|---|
string | name | The name of the item to locate. |
Type | Description |
---|---|
int | The 0-based index of the specified item, or -1 if the item was not found. |