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