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.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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