Sdílet prostřednictvím


MeasureGroupAttributeCollection.Add Method (String)

Creates and adds a MeasureGroupAttribute, with the specified identifier, to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    attributeId As String _
) As MeasureGroupAttribute
'Usage
Dim instance As MeasureGroupAttributeCollection
Dim attributeId As String
Dim returnValue As MeasureGroupAttribute

returnValue = instance.Add(attributeId)
public MeasureGroupAttribute Add(
    string attributeId
)
public:
MeasureGroupAttribute^ Add(
    String^ attributeId
)
member Add : 
        attributeId:string -> MeasureGroupAttribute 
public function Add(
    attributeId : String
) : MeasureGroupAttribute

Parameters

Return Value

Type: Microsoft.AnalysisServices.MeasureGroupAttribute
The zero-based index at which the MeasureGroupAttribute has been added.