IElementDefinitionsFind Method |
Searches for an element that matches the conditions defined by
the specified predicate, and returns the first occurrence within
the entire List.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax IElementDefinition Find(
Predicate<IElementDefinition> match
)
Function Find (
match As Predicate(Of IElementDefinition)
) As IElementDefinition
IElementDefinition^ Find(
Predicate<IElementDefinition^>^ match
)
Parameters
- match
- Type: SystemPredicateIElementDefinition
The Predicate delegate that defines the conditions of the element to search for.
Return Value
Type:
IElementDefinitionThe first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type IElementDefinition.
See Also