System::Collections::Generic::SortedList::IndexOfKey method

SortedList::IndexOfKey method

Looks for specific key.

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const
ParameterTypeDescription
keyTKeyKey to look for.

ReturnValue

index of specified key or -1 if not found.

See Also