Delen via


DimensionAttributeCollection.Add Method (DimensionAttribute)

Adds a DimensionAttribute to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As DimensionAttribute _
) As Integer
'Usage
Dim instance As DimensionAttributeCollection 
Dim item As DimensionAttribute 
Dim returnValue As Integer 

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

Parameters

Return Value

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

See Also

Reference

DimensionAttributeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace