CalculationPropertyCollection.Insert CalculationPropertyCollection.Insert CalculationPropertyCollection.Insert Method

Definition

Inserts a CalculationProperty into the collection.

Overloads

Insert(Int32, CalculationProperty) Insert(Int32, CalculationProperty) Insert(Int32, CalculationProperty)

Inserts a CalculationProperty into the collection at the specified index.

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

Creates and inserts a CalculationProperty with the specified identifier into the collection at the specified index.

Insert(Int32, CalculationProperty) Insert(Int32, CalculationProperty) Insert(Int32, CalculationProperty)

Inserts a CalculationProperty into the collection at the specified index.

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

The zero-based index at which the new CalculationProperty will be inserted.

Exceptions

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

Creates and inserts a CalculationProperty with the specified identifier into the collection at the specified index.

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

The zero-based index at which the new CalculationProperty will be inserted.

calculationReference
String String String

The identifier of the CalculationProperty to be inserted.

Returns
Exceptions

Applies to