Metodo BackupLocationCollection.IList.IndexOf
Determines the index of a specific item in the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Private Function IndexOf ( _
value As Object _
) As Integer Implements IList.IndexOf
'Utilizzo
Dim instance As BackupLocationCollection
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).IndexOf(value)
int IList.IndexOf(
Object value
)
private:
virtual int IndexOf(
Object^ value
) sealed = IList::IndexOf
private abstract IndexOf :
value:Object -> int
private override IndexOf :
value:Object -> int
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- value
Tipo: System.Object
The object to locate.
Valore restituito
Tipo: System.Int32
The index of value if found in the list; otherwise, -1.