CubeHierarchyCollection.Insert Method (Int32, CubeHierarchy)

 

Updated: May 24, 2016

Inserts a CubeHierarchy into the collection at the specified index.

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

public void Insert(
	int index,
	CubeHierarchy item
)

Parameters

index
Type: System.Int32

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

item
Type: Microsoft.AnalysisServices.CubeHierarchy

The CubeHierarchy to be inserted.

Exception Condition
ArgumentOutOfRangeException

index is less than zero.

-or-

index is equal to or greater than Count.

Return to top
Show: