MeasureGroupDimensionCollection.Move Method (MeasureGroupDimension, Int32)

 

Updated: May 24, 2016

Moves a MeasureGroupDimension to a new index in the collection.

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

public void Move(
	MeasureGroupDimension item,
	int toIndex
)

Parameters

item
Type: Microsoft.AnalysisServices.MeasureGroupDimension

The MeasureGroupDimension to move.

toIndex
Type: System.Int32

The zero-based index to which to move the MeasureGroupDimension specified by item.

Exception Condition
ArgumentOutOfRangeException

toIndex is less than zero.

-or-

toIndex is equal to or greater than Count.

-or-

item does not exist in the collection.

Return to top
Show: