共用方式為


Add 方法 (String)

Creates and adds a PerspectiveAction, with the specified identifier, to the end of the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Add ( _
    actionId As String _
) As PerspectiveAction
'用途
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

參數

傳回值

型別:Microsoft.AnalysisServices. . :: . .PerspectiveAction
The zero-based index at which the PerspectiveAction has been added.