IndexOfKey()

SortedList::IndexOfKey(TKey) const method

Looks for specific key.

int System::Collections::Generic::SortedList<TKey, TValue>::IndexOfKey(TKey key) const

Arguments

ParameterTypeDescription
keyTKeyKey to look for.

Return Value

index of specified key or -1 if not found.

See Also