'Declaration Public Function IndexOfKey( _ ByVal key As System.String _ ) As System.Integer
public System.int IndexOfKey( System.string key )
Parameters
- key
- The key of the interested item.
Return Value
The index of the item with the specified key if such item exists; otherwise, -1.