|
ProcessDictionaryTKey, TValueBinarySearch(Int32, Int32, KeyValuePairTKey, TValue, IComparerKeyValuePairTKey, TValue) Method
|
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax function BinarySearch(index, count, item, comparer);
View SourceParameters
- index Int32
- The zero-based starting index of the range to search.
- count Int32
- The length of the range to search.
- item KeyValuePairTKey, TValue
- The object to locate. The value can be null for reference types.
- comparer IComparerKeyValuePairTKey, TValue
- The Generic.IComparer implementation to use when comparing elements -or- null to use
the default comparer: Generic.Comparer(Of T).Default
Return Value
Int32This method returns an
Int32 that is the index of the item.Key.
See Also