Click or drag to resize

ProcessDictionaryTKey, TValueBinarySearch(KeyValuePairTKey, TValue) Method

This function doesn't have the same meaning in the ProcessDictionaryTKey, TValue as it does in ProcessQueueT, 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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public override int BinarySearch(
	KeyValuePair<TKey, TValue> item
)
View Source

Parameters

item  KeyValuePairTKey, TValue
The object to locate. The value can be null for reference types.

Return Value

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