AccountCollection.IndexOf Method (Account)

Gets the index of a specified Account.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As Account _
) As Integer
'Usage
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

Parameters

Return Value

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