PerspectiveActionCollection.Add Method (String)
Creates, adds to collection and returns a new PerspectiveAction.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
actionId As String _
) As PerspectiveAction
'Usage
Dim instance As PerspectiveActionCollection
Dim actionId As String
Dim returnValue As PerspectiveAction
returnValue = instance.Add(actionId)
public PerspectiveAction Add(
string actionId
)
public:
PerspectiveAction^ Add(
String^ actionId
)
member Add :
actionId:string -> PerspectiveAction
public function Add(
actionId : String
) : PerspectiveAction
Parameters
- actionId
Type: System.String
The action identifier for the new PerspectiveAction (needs to be unique in the collection).
Return Value
Type: Microsoft.AnalysisServices.PerspectiveAction
The newly created PerspectiveAction.