Dela via


PerspectiveDimensionCollection.Add Method (String)

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

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

Syntax

'Declaration
Public Function Add ( _
    cubeDimensionId As String _
) As PerspectiveDimension
'Usage
Dim instance As PerspectiveDimensionCollection
Dim cubeDimensionId As String
Dim returnValue As PerspectiveDimension

returnValue = instance.Add(cubeDimensionId)
public PerspectiveDimension Add(
    string cubeDimensionId
)
public:
PerspectiveDimension^ Add(
    String^ cubeDimensionId
)
member Add : 
        cubeDimensionId:string -> PerspectiveDimension 
public function Add(
    cubeDimensionId : String
) : PerspectiveDimension

Parameters

Return Value

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