Delen via


MeasureGroupCollection.Add Method (MeasureGroup)

Adds a MeasureGroup to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As MeasureGroup _
) As Integer
'Usage
Dim instance As MeasureGroupCollection
Dim item As MeasureGroup
Dim returnValue As Integer

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

Parameters

Return Value

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