Partager via


Add méthode (String)

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (dans Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    attributeId As String _
) As MeasureGroupAttribute
'Utilisation
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

Paramètres

Valeur de retour

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