Méthode ModelComponentCollection.IList.IndexOf

Determines the index of a specific item in the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Private Function IndexOf ( _
    value As Object _
) As Integer Implements IList.IndexOf
'Utilisation
Dim instance As ModelComponentCollection 
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Paramètres

Valeur de retour

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

Implémente

IList.IndexOf(Object)

Voir aussi

Référence

ModelComponentCollection Classe

Espace de noms Microsoft.AnalysisServices