IReachesFind Method

Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.

Definition

Namespace: DHI.Mike1D.NetworkDataAccess
Assembly: DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
IReach Find(
	Predicate<IReach> match
)

Parameters

match  PredicateIReach
The Predicate delegate that defines the conditions of the element to search for.

Return Value

IReach
The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type IReach.

See Also