Share via


ActionCollection.IndexOf Method (Action)

Gets the index of a specified Action.

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

Syntax

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

Parameters

Return Value

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

See Also

Reference

ActionCollection Class

IndexOf Overload

Microsoft.AnalysisServices Namespace