Share via


PerspectiveDimensionCollection.Add Method (PerspectiveDimension)

Adds a PerspectiveDimension to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As PerspectiveDimension _
) As Integer
'Usage
Dim instance As PerspectiveDimensionCollection
Dim item As PerspectiveDimension
Dim returnValue As Integer

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

Return Value

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