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>::FindIndex Method (Int32, Predicate<T>^)

 

Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the immutable list that extends from the specified index to the last element.

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

public:
virtual int FindIndex(
	int startIndex,
	Predicate<T>^ match
) sealed

Parameters

startIndex
Type: System::Int32

The zero-based starting index of the search.

match
Type: System::Predicate<T>^

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

Return Value

Type: System::Int32

The zero-based index of the first occurrence of an element that matches the conditions defined by match, if found; otherwise, ?1.

Return to top
Show:
© 2017 Microsoft