Método ReadOnlyList<T>.IndexOf
Determines the index of a specific item in the list.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: System.Int32
The index of a specific item in the list.