Partilhar via


Método IndexOf (Action)

Gets the index of a specified Action.

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

Sintaxe

'Declaração
Public Function IndexOf ( _
    item As Action _
) As Integer
'Uso
Dim instance As ActionCollection
Dim item As Action
Dim returnValue As Integer

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

Parâmetros

Valor de retorno

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