ImmutableArray<T>::IndexOf Method (T, Int32, IEqualityComparer<T>^)
Searches the array for the specified item.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
Parameters
- item
-
Type:
T
The item to search for.
- startIndex
-
Type:
System::Int32
The index at which to begin the search.
- equalityComparer
-
Type:
System.Collections.Generic::IEqualityComparer<T>^
The equality comparer to use in the search.
Return Value
Type: System::Int32The zero-based index position of the item if it is found, or -1 if it is not.
Show: