ImmutableArray<T>::LastIndexOf Method (T, Int32)

 

Searches the array for the specified item; starting at the end of the array.

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

public:
int LastIndexOf(
	T item,
	int startIndex
)

Parameters

item
Type: T

The item to search for.

startIndex
Type: System::Int32

The index at which to begin the search.

Return Value

Type: System::Int32

The 0-based index into the array where the item was found; or -1 if it could not be found.

Return to top
Show: