ConcurrentIndexedDictionaryTKey, TValueIndexOf Method

Gets the index of the specified key in the dictionary.

Definition

Namespace: SnapDB.Collections
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public int IndexOf(
	TKey key
)

Parameters

key  TKey
The key to find the index for.

Return Value

Int32
The index of the key in the dictionary, or -1 if the key is not found.

See Also