Partager via


Méthode IndexOf (Action)

Gets the index of a specified Action.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function IndexOf ( _
    item As Action _
) As Integer
'Utilisation
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

Paramètres

Valeur de retour

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