JAMS Developer Guide
BinarySearch(Element,IComparer<Element>) Method


MVPSI.JAMS.Host Namespace > ElementCollection Class > BinarySearch Method : BinarySearch(Element,IComparer<Element>) Method
Syntax
'Declaration
 
<__DynamicallyInvokableAttribute()>
Public Overloads Function BinarySearch( _
   ByVal item As Element, _
   ByVal comparer As System.Collections.Generic.IComparer(Of Element) _
) As System.Integer
'Usage
 
Dim instance As ElementCollection
Dim item As Element
Dim comparer As System.Collections.Generic.IComparer(Of Element)
Dim value As System.Integer
 
value = instance.BinarySearch(item, comparer)
[__DynamicallyInvokable()]
public System.int BinarySearch( 
   Element item,
   System.Collections.Generic.IComparer<Element> comparer
)

Parameters

item
comparer
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ElementCollection Class
ElementCollection Members
Overload List