Delen via


PerspectiveMeasureCollection.Add Method (String)

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

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

Syntax

'Declaration
Public Function Add ( _
    measureId As String _
) As PerspectiveMeasure
'Usage
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

Parameters

Return Value

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