Compartilhar via


Método Add (String)

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

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

Sintaxe

'Declaração
Public Function Add ( _
    attributeId As String _
) As MeasureGroupAttribute
'Uso
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

Parâmetros

Valor de retorno

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