DimensionAttributeCollection.Insert Method (Int32, DimensionAttribute)

Inserts a DimensionAttribute into the collection at the specified index.

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

public void Insert(
	int index,
	DimensionAttribute item
)

Parameters

index
Type: System.Int32
The zero-based index at which the new DimensionAttribute will be inserted.
item
Type: Microsoft.AnalysisServices.DimensionAttribute
The DimensionAttribute to be inserted.

ExceptionCondition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

Community Additions

ADD
Show: