Condividi tramite


Metodo AnnotationCollection.IList.IndexOf

Determines the index of the 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 AnnotationCollection 
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 in the collection.

Valore restituito

Tipo: System.Int32
The index of value in the collection, if found; otherwise, -1.

Implementa

IList.IndexOf(Object)

Vedere anche

Riferimento

AnnotationCollection Classe

Spazio dei nomi Microsoft.AnalysisServices