DHI.Mike1D
DHI.Mike1D
Namespaces
DHI.Mike1D.NetworkDataAccess
NetworkExtensions Class
NetworkExtensions Methods
BinarySearch Method
BinarySearch Method (IList(IReach), ILocation)
BinarySearch Method (IList(IReach), ILocation, Double)
NetworkExtensions
BinarySearch Method (IList
IReach
, ILocation, Double)
Namespace:
DHI.Mike1D.NetworkDataAccess
Assembly:
DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 18.0.0.0 (11.1.1.1111)
Syntax
C#
Copy
public
static
int
BinarySearch
(
this
IList
<
IReach
>
reaches
,
ILocation
location
,
double
tolerance
)
Parameters
reaches
Type:
System.Collections.Generic
IList
IReach
location
Type:
DHI.Mike1D.Generic
ILocation
tolerance
Type:
System
Double
Return Value
Type:
Int32
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IList
IReach
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
NetworkExtensions Class
BinarySearch Overload
DHI.Mike1D.NetworkDataAccess Namespace