  | CVVUBinarySearch Method  | 
 Search  numeric value in a VV.
 
    Namespace: 
   Geosoft.Desktop.GXNetX
    Assembly:
   geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntaxpublic static void BinarySearch(
	CGXNETCore gxNetShared,
	CVV vv,
	double val,
	ref int l_min,
	ref int l_max
)
public static void BinarySearch(
	CGXNETCore gxNetShared,
	CVV vv,
	double val,
	ref int l_min,
	ref int l_max
)
Public Shared Sub BinarySearch ( 
	gxNetShared As CGXNETCore,
	vv As CVV,
	val As Double,
	ByRef l_min As Integer,
	ByRef l_max As Integer
)
Public Shared Sub BinarySearch ( 
	gxNetShared As CGXNETCore,
	vv As CVV,
	val As Double,
	ByRef l_min As Integer,
	ByRef l_max As Integer
)
public:
static void BinarySearch(
	CGXNETCore^ gxNetShared, 
	CVV^ vv, 
	double val, 
	int% l_min, 
	int% l_max
)
public:
static void BinarySearch(
	CGXNETCore^ gxNetShared, 
	CVV^ vv, 
	double val, 
	int% l_min, 
	int% l_max
)
static member BinarySearch : 
        gxNetShared : CGXNETCore * 
        vv : CVV * 
        val : float * 
        l_min : int byref * 
        l_max : int byref -> unit 
static member BinarySearch : 
        gxNetShared : CGXNETCore * 
        vv : CVV * 
        val : float * 
        l_min : int byref * 
        l_max : int byref -> unit 
Parameters
- gxNetShared
 - Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - vv
 - Type: GeoEngine.Core.GXNetXCVV
 - val
 - Type: SystemDouble
Value to search for. - l_min
 - Type: SystemInt32
Minimum Location - l_max
 - Type: SystemInt32
Maximum Location 
Remarks
The VV should be sorted.Search comparison is made on double
comparison of the data.
See Also