| 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: 8.2.1.0 (8.2.1)
 Syntax
Syntaxpublic int BinarySearch(
	T aKey,
	out bool isEqual
)
Public Function BinarySearch ( 
	aKey As T,
	<OutAttribute> ByRef isEqual As Boolean
) As Integer
public:
int BinarySearch(
	T aKey, 
	[OutAttribute] bool% isEqual
)
member BinarySearch : 
        aKey : 'T * 
        isEqual : bool byref -> int 
Parameters
- aKey
- Type: T
 The object to locate
- isEqual
- Type: SystemBoolean
 True if match is found; otherwise false
Return Value
Type: 
Int32The index of the object if found; otherwise index at which located would be located
 See Also
See Also