共用方式為


Add 方法 (String)

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

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

語法

'宣告
Public Function Add ( _
    measureId As String _
) As PerspectiveMeasure
'用途
Dim instance As PerspectiveMeasureCollection
Dim measureId As String
Dim returnValue As PerspectiveMeasure

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

參數

傳回值

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