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.264-beta+d1c3a754a4d50e5c740e530e6875e878ac32de9a
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