ArrayBuilder<T>.IndexOf Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IndexOf(T) | |
IndexOf(T, IEqualityComparer<T>) | |
IndexOf(T, Int32, Int32) |
IndexOf(T)
public:
int IndexOf(T item);
public int IndexOf (T item);
member this.IndexOf : 'T -> int
Public Function IndexOf (item As T) As Integer
Parameters
- item
- T
Returns
Applies to
IndexOf(T, IEqualityComparer<T>)
public:
int IndexOf(T item, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public int IndexOf (T item, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
member this.IndexOf : 'T * System.Collections.Generic.IEqualityComparer<'T> -> int
Public Function IndexOf (item As T, equalityComparer As IEqualityComparer(Of T)) As Integer
Parameters
- item
- T
- equalityComparer
- IEqualityComparer<T>
Returns
Applies to
IndexOf(T, Int32, Int32)
public:
int IndexOf(T item, int startIndex, int count);
public int IndexOf (T item, int startIndex, int count);
member this.IndexOf : 'T * int * int -> int
Public Function IndexOf (item As T, startIndex As Integer, count As Integer) As Integer
Parameters
- item
- T
- startIndex
- Int32
- count
- Int32