Sdílet prostřednictvím


MeasureGroupAttributeCollection.Add Method (MeasureGroupAttribute)

Adds a MeasureGroupAttribute to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As MeasureGroupAttribute _
) As Integer
'Usage
Dim instance As MeasureGroupAttributeCollection
Dim item As MeasureGroupAttribute
Dim returnValue As Integer

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

Return Value

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