Dela via


PerspectiveMeasureGroupCollection.Add Method (PerspectiveMeasureGroup)

Adds a PerspectiveMeasureGroup to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As PerspectiveMeasureGroup _
) As Integer
'Usage
Dim instance As PerspectiveMeasureGroupCollection
Dim item As PerspectiveMeasureGroup
Dim returnValue As Integer

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

Return Value

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