Click or drag to resize

ProcessDictionary<TKey, TValue> .IndexOf(KeyValuePair<TKey, TValue> , Int32, Int32) Method

This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.246-beta+ff392465a0262ee2737937d4127fc3c2f08c6dcd
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override int IndexOf(
	KeyValuePair<TKey, TValue> item,
	int index,
	int count
)
View Source

Parameters

item  KeyValuePair<TKey, TValue>
The object to locate in the ProcessQueue<T>. The value can be null for reference types.
index  Int32
The zero-based starting index of the search.
count  Int32
The number of elements in the section to search.

Return Value

Int32
This method returns an Int32 that is the index of the item.Key.
See Also