Click or drag to resize
ListBaseTTryFind Method
Finds the first item in the list that satisfies the condition defined by predicate.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public virtual bool TryFind(
	Predicate<T> predicate,
	out T foundItem
)

Parameters

predicate
Type: SystemPredicateT
A delegate that defines the condition to check for.
foundItem
Type: T
If true is returned, this parameter receives the first item in the list that satifies the condition defined by predicate.

Return Value

Type: Boolean
True if an item that satisfies the condition predicate was found. False if no item in the list satisfies that condition.
See Also