Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImmutableList<T>::Find Method (Predicate<T>^)

 

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

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public:
virtual T Find(
	Predicate<T>^ match
) sealed

Parameters

match
Type: System::Predicate<T>^

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

Return Value

Type: T

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

Return to top
Show:
© 2017 Microsoft