Share via


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

Parameters

Return Value

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

See Also

Reference

MeasureGroupAttributeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace