Partilhar via


ArrayBuilder<T>.IndexOf Method

Definition

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

Returns

Applies to