Condividi tramite


Metodo ActionCollection.IndexOf (Action)

Gets the index of a specified Action.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function IndexOf ( _
    item As Action _
) As Integer
'Utilizzo
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

Parametri

Valore restituito

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

Vedere anche

Riferimento

ActionCollection Classe

Overload IndexOf

Spazio dei nomi Microsoft.AnalysisServices