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.242-beta+5de70bd1c87865d409ebc16b8886196644c0c750
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