Click or drag to resize

WeakReferenceListBaseTBinarySearch Method

Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.

Namespace:  VelocityDb.Collection
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public int BinarySearch(
	T aKey,
	out bool isEqual
)

Parameters

aKey
Type: T
The object to locate
isEqual
Type: SystemBoolean
True if match is found; otherwise false

Return Value

Type: Int32
The index of the object if found; otherwise index at which located would be located
See Also