PerspectiveCalculationCollection.Insert PerspectiveCalculationCollection.Insert PerspectiveCalculationCollection.Insert Method

Definition

Inserts a PerspectiveCalculation into the collection.

Overloads

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts a PerspectiveCalculation, with the specified name, into the collection at the specified index.

Insert(Int32, String, PerspectiveCalculationType) Insert(Int32, String, PerspectiveCalculationType) Insert(Int32, String, PerspectiveCalculationType)

Creates and inserts a PerspectiveCalculation, with the specified name and PerspectiveCalculationType value, into the collection at the specified index.

Insert(Int32, PerspectiveCalculation) Insert(Int32, PerspectiveCalculation) Insert(Int32, PerspectiveCalculation)

Inserts a PerspectiveCalculation into the collection at the specified index.

Insert(Int32, String) Insert(Int32, String) Insert(Int32, String)

Creates and inserts a PerspectiveCalculation, with the specified name, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::PerspectiveCalculation ^ Insert(int index, System::String ^ name);
public Microsoft.AnalysisServices.PerspectiveCalculation Insert (int index, string name);
Public Function Insert (index As Integer, name As String) As PerspectiveCalculation
Parameters
index
Int32 Int32 Int32

The zero-based index at which to insert the new PerspectiveCalculation.

name
String String String

The name of the PerspectiveCalculation to insert.

Returns
Exceptions

Insert(Int32, String, PerspectiveCalculationType) Insert(Int32, String, PerspectiveCalculationType) Insert(Int32, String, PerspectiveCalculationType)

Creates and inserts a PerspectiveCalculation, with the specified name and PerspectiveCalculationType value, into the collection at the specified index.

public:
 Microsoft::AnalysisServices::PerspectiveCalculation ^ Insert(int index, System::String ^ name, Microsoft::AnalysisServices::PerspectiveCalculationType type);
public Microsoft.AnalysisServices.PerspectiveCalculation Insert (int index, string name, Microsoft.AnalysisServices.PerspectiveCalculationType type);
Public Function Insert (index As Integer, name As String, type As PerspectiveCalculationType) As PerspectiveCalculation
Parameters
index
Int32 Int32 Int32

The zero-based index at which to insert the new PerspectiveCalculation.

name
String String String

The name of the PerspectiveCalculation to insert.

Returns
Exceptions

Insert(Int32, PerspectiveCalculation) Insert(Int32, PerspectiveCalculation) Insert(Int32, PerspectiveCalculation)

Inserts a PerspectiveCalculation into the collection at the specified index.

public:
 void Insert(int index, Microsoft::AnalysisServices::PerspectiveCalculation ^ item);
public void Insert (int index, Microsoft.AnalysisServices.PerspectiveCalculation item);
Public Sub Insert (index As Integer, item As PerspectiveCalculation)
Parameters
index
Int32 Int32 Int32

The zero-based index at which to insert the new PerspectiveCalculation.

Exceptions

Applies to