|
ProcessDictionaryTKey, TValueBinarySearch(Int32, Int32, KeyValuePairTKey, TValue, IComparerKeyValuePairTKey, TValue) Method
|
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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