Share via


PerspectiveMeasureCollection.Add Method (PerspectiveMeasure)

Adds a PerspectiveMeasure to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As PerspectiveMeasure _
) As Integer
'Usage
Dim instance As PerspectiveMeasureCollection
Dim item As PerspectiveMeasure
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    PerspectiveMeasure item
)
public:
int Add(
    PerspectiveMeasure^ item
)
member Add : 
        item:PerspectiveMeasure -> int 
public function Add(
    item : PerspectiveMeasure
) : int

Return Value

Type: System.Int32
The zero-based index at which the PerspectiveMeasure has been added.