Click or drag to resize

DictionaryList<TKey, TValue> .IndexOfKey Method

Searches for the specified key and returns the zero-based index within the entire DictionaryList<TKey, TValue>.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax
public int IndexOfKey(
	TKey key
)
View Source

Parameters

key  TKey
The key to locate in the DictionaryList<TKey, TValue>.

Return Value

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