Share via


PerspectiveCalculationCollection.Add Method (PerspectiveCalculation)

Adds a PerspectiveCalculation to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As PerspectiveCalculation _
) As Integer
'Usage
Dim instance As PerspectiveCalculationCollection
Dim item As PerspectiveCalculation
Dim returnValue As Integer

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

Return Value

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