Compartir a través de


SyntaxGenerator.IndexOf<T>(IReadOnlyList<T>, T) Método

Definición

protected:
generic <typename T>
 int IndexOf(System::Collections::Generic::IReadOnlyList<T> ^ list, T element);
protected int IndexOf<T> (System.Collections.Generic.IReadOnlyList<T> list, T element);
member this.IndexOf : System.Collections.Generic.IReadOnlyList<'T> * 'T -> int
Protected Function IndexOf(Of T) (list As IReadOnlyList(Of T), element As T) As Integer

Parámetros de tipo

T

Parámetros

list
IReadOnlyList<T>
element
T

Devoluciones

Se aplica a