Método IndexOf (Account)

Gets the index of a specified Account.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As Account _
) As Integer
'Uso
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

Valor de retorno

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