Compartir a través de


ReadOnlyList<T>.IndexOf Método

Determines the index of a specific item in the list.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    item As T _
) As Integer
'Uso
Dim instance As ReadOnlyList 
Dim item As T
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    T item
)
public:
int IndexOf(
    T item
)
member IndexOf : 
        item:'T -> int
public function IndexOf(
    item : T
) : int

Parámetros

  • item
    Tipo: T
    The object to locate in the list.

Valor devuelto

Tipo: System.Int32
The index of a specific item in the list.

Vea también

Referencia

ReadOnlyList<T> Estructura

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc