共用方式為


Add 方法 (String)

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

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

語法

'宣告
Public Function Add ( _
    measureGroupId As String _
) As PerspectiveMeasureGroup
'用途
Dim instance As PerspectiveMeasureGroupCollection
Dim measureGroupId As String
Dim returnValue As PerspectiveMeasureGroup

returnValue = instance.Add(measureGroupId)
public PerspectiveMeasureGroup Add(
    string measureGroupId
)
public:
PerspectiveMeasureGroup^ Add(
    String^ measureGroupId
)
member Add : 
        measureGroupId:string -> PerspectiveMeasureGroup 
public function Add(
    measureGroupId : String
) : PerspectiveMeasureGroup

參數

傳回值

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