[]
Retrieves the index of the first occurrence of the specified item within the collection.
public virtual int IndexOfKey(string name)
Public Overridable Function IndexOfKey(name As String) As Integer
Type | Name | Description |
---|---|---|
string | name | The name of the INamedObject object to search for. |
Type | Description |
---|---|
int | The zero-based index of the first occurrence of the INamedObject object with the specified name in the collection. |