Click or drag to resize

EngineNodes.Find Method (Predicate<EngineNode>)

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

Linear searching, o(n), so use with care.

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public EngineNode Find(
	Predicate<EngineNode> match
)

Parameters

match
Type: System.Predicate<EngineNode>
The System.Predicate delegate that defines the conditions of the element to search for.

Return Value

Type: EngineNode
The first element that matches the conditions defined by the specified predicate, if found; otherwise null.
See Also