Click or drag to resize

DictionaryListTKey, TValueIndexOfKey Method

Searches for the specified key and returns the zero-based index within the entire DictionaryListTKey, TValue.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.230-beta+03417d7b5cff037b24e882d7adef82d359b34964
Syntax
public int IndexOfKey(
	TKey key
)
View Source

Parameters

key  TKey
The key to locate in the DictionaryListTKey, TValue.

Return Value

Int32
The zero-based index of key within the entire DictionaryListTKey, TValue, if found; otherwise, -1.
See Also