IndexOf méthode (Account)
Gets the index of a specified Account.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (dans 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
Paramètres
- item
Type : Microsoft.AnalysisServices. . :: . .Account
Valeur de retour
Type : System. . :: . .Int32
The zero-based index of the Account if the object is found; otherwise, -1.