Partilhar via


ArrayBuilder<T>.FindIndex Method

Definition

Overloads

FindIndex(Predicate<T>)
FindIndex(Int32, Predicate<T>)
FindIndex(Int32, Int32, Predicate<T>)
FindIndex<TArg>(Int32, Func<T,TArg,Boolean>, TArg)
FindIndex<TArg>(Int32, Int32, Func<T,TArg,Boolean>, TArg)
FindIndex<TArg>(Func<T,TArg,Boolean>, TArg)

FindIndex(Predicate<T>)

public:
 int FindIndex(Predicate<T> ^ match);
public int FindIndex (Predicate<T> match);
member this.FindIndex : Predicate<'T> -> int
Public Function FindIndex (match As Predicate(Of T)) As Integer

Parameters

match
Predicate<T>

Returns

Applies to

FindIndex(Int32, Predicate<T>)

public:
 int FindIndex(int startIndex, Predicate<T> ^ match);
public int FindIndex (int startIndex, Predicate<T> match);
member this.FindIndex : int * Predicate<'T> -> int
Public Function FindIndex (startIndex As Integer, match As Predicate(Of T)) As Integer

Parameters

startIndex
Int32
match
Predicate<T>

Returns

Applies to

FindIndex(Int32, Int32, Predicate<T>)

public:
 int FindIndex(int startIndex, int count, Predicate<T> ^ match);
public int FindIndex (int startIndex, int count, Predicate<T> match);
member this.FindIndex : int * int * Predicate<'T> -> int
Public Function FindIndex (startIndex As Integer, count As Integer, match As Predicate(Of T)) As Integer

Parameters

startIndex
Int32
count
Int32
match
Predicate<T>

Returns

Applies to

FindIndex<TArg>(Int32, Func<T,TArg,Boolean>, TArg)

public int FindIndex<TArg> (int startIndex, Func<T,TArg,bool> match, TArg arg);
member this.FindIndex : int * Func<'T, 'Arg, bool> * 'Arg -> int
Public Function FindIndex(Of TArg) (startIndex As Integer, match As Func(Of T, TArg, Boolean), arg As TArg) As Integer

Type Parameters

TArg

Parameters

startIndex
Int32
match
Func<T,TArg,Boolean>
arg
TArg

Returns

Applies to

FindIndex<TArg>(Int32, Int32, Func<T,TArg,Boolean>, TArg)

public int FindIndex<TArg> (int startIndex, int count, Func<T,TArg,bool> match, TArg arg);
member this.FindIndex : int * int * Func<'T, 'Arg, bool> * 'Arg -> int
Public Function FindIndex(Of TArg) (startIndex As Integer, count As Integer, match As Func(Of T, TArg, Boolean), arg As TArg) As Integer

Type Parameters

TArg

Parameters

startIndex
Int32
count
Int32
match
Func<T,TArg,Boolean>
arg
TArg

Returns

Applies to

FindIndex<TArg>(Func<T,TArg,Boolean>, TArg)

public int FindIndex<TArg> (Func<T,TArg,bool> match, TArg arg);
member this.FindIndex : Func<'T, 'Arg, bool> * 'Arg -> int
Public Function FindIndex(Of TArg) (match As Func(Of T, TArg, Boolean), arg As TArg) As Integer

Type Parameters

TArg

Parameters

match
Func<T,TArg,Boolean>
arg
TArg

Returns

Applies to