MajorObjectCollection.Insert Method (Int32, ModelComponent)

Inserts a ModelComponent in the MajorObjectCollection at the specified index.

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

protected internal override void Insert(
	int index,
	ModelComponent item
)

Parameters

index
Type: System.Int32
The zero-based index at which item should be inserted.
item
Type: Microsoft.AnalysisServices.ModelComponent
The ModelComponent to add.

If item does not implement IMajorObject, an error occurs.

Community Additions

ADD
Show: