Partager via


Méthode IndexOf (Account)

Gets the index of a specified Account.

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

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As Account _
) As Integer
'Utilisation
Dim instance As AccountCollection
Dim item As Account
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    Account item
)
public:
int IndexOf(
    Account^ item
)
member IndexOf : 
        item:Account -> int 
public function IndexOf(
    item : Account
) : int

Valeur de retour

Type : System. . :: . .Int32
The zero-based index of the Account if the object is found; otherwise, -1.