Partager via


Méthode AdomdParameterCollection.IList.IndexOf

Determines the index of the AdomdParameter in the AdomdParameterCollection.

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

Syntaxe

'Déclaration
Private Function IndexOf ( _
    pObj As Object _
) As Integer Implements IList.IndexOf
'Utilisation
Dim instance As AdomdParameterCollection 
Dim pObj As Object 
Dim returnValue As Integer 

returnValue = CType(instance, IList).IndexOf(pObj)
int IList.IndexOf(
    Object pObj
)
private:
virtual int IndexOf(
    Object^ pObj
) sealed = IList::IndexOf
private abstract IndexOf : 
        pObj:Object -> int  
private override IndexOf : 
        pObj: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 the object if found in the collection; otherwise, -1.

Implémente

IList.IndexOf(Object)

Voir aussi

Référence

AdomdParameterCollection Classe

Espace de noms Microsoft.AnalysisServices.AdomdServer