Delen via


DimensionCollection.Add Method (Dimension)

Adds a Dimension to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Dimension _
) As Integer
'Usage
Dim instance As DimensionCollection 
Dim item As Dimension 
Dim returnValue As Integer 

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

Parameters

Return Value

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

See Also

Reference

DimensionCollection Class

Add Overload

Microsoft.AnalysisServices Namespace