Méthode ReadOnlyList<T>.IndexOf
Determines the index of a specific item in the list.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Function IndexOf ( _
item As T _
) As Integer
'Utilisation
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
Paramètres
- item
Type : T
The object to locate in the list.
Valeur de retour
Type : System.Int32
The index of a specific item in the list.