Share via


PerspectiveCollection.Add Method (Perspective)

Adds a Perspective to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Perspective _
) As Integer
'Usage
Dim instance As PerspectiveCollection
Dim item As Perspective
Dim returnValue As Integer

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

Parameters

Return Value

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