LevelCollection.Insert Method (Int32, Level)

 

Updated: May 24, 2016

Inserts a Level into the collection at the specified index.

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

public void Insert(
	int index,
	Level item
)

Parameters

index
Type: System.Int32

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

item
Type: Microsoft.AnalysisServices.Level

The Level to be inserted.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Return to top
Show: