Partager via


Méthode Add (AggregationAttribute)

Adds an AggregationAttribute to the end of the collection.

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

Syntaxe

'Déclaration
Public Function Add ( _
    item As AggregationAttribute _
) As Integer
'Utilisation
Dim instance As AggregationAttributeCollection
Dim item As AggregationAttribute
Dim returnValue As Integer

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

Valeur de retour

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