PerspectiveMeasureCollection.Move PerspectiveMeasureCollection.Move PerspectiveMeasureCollection.Move Method

Definition

Moves a PerspectiveMeasure to a new index in the collection.

Overloads

Move(PerspectiveMeasure, Int32) Move(PerspectiveMeasure, Int32) Move(PerspectiveMeasure, Int32)

Moves a PerspectiveMeasure to a new index in the collection.

Move(Int32, Int32) Move(Int32, Int32) Move(Int32, Int32)

Moves the PerspectiveMeasure at the current specified index to a new specified index in the collection.

Move(String, Int32) Move(String, Int32) Move(String, Int32)

Moves the PerspectiveMeasure that has the specified identifier to the specified index in the collection.

Move(PerspectiveMeasure, Int32) Move(PerspectiveMeasure, Int32) Move(PerspectiveMeasure, Int32)

Moves a PerspectiveMeasure to a new index in the collection.

public:
 void Move(Microsoft::AnalysisServices::PerspectiveMeasure ^ item, int toIndex);
public void Move (Microsoft.AnalysisServices.PerspectiveMeasure item, int toIndex);
Public Sub Move (item As PerspectiveMeasure, toIndex As Integer)
Parameters
toIndex
Int32 Int32 Int32

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

Exceptions

toIndex is less than zero.

-or-

toIndex is equal to or greater than Count.

-or-

item does not exist in the collection.

Move(Int32, Int32) Move(Int32, Int32) Move(Int32, Int32)

Moves the PerspectiveMeasure at the current specified index to a new specified index in the collection.

public:
 Microsoft::AnalysisServices::PerspectiveMeasure ^ Move(int fromIndex, int toIndex);
public Microsoft.AnalysisServices.PerspectiveMeasure Move (int fromIndex, int toIndex);
Public Function Move (fromIndex As Integer, toIndex As Integer) As PerspectiveMeasure
Parameters
fromIndex
Int32 Int32 Int32

The zero-based index of the PerspectiveMeasure to move.

toIndex
Int32 Int32 Int32

The zero-based index to which to move the PerspectiveMeasure specified by fromIndex.

Returns
Exceptions

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than Count.

-or-

toIndex is less than zero.

-or-

toIndex is equal to or greater than Count.

Move(String, Int32) Move(String, Int32) Move(String, Int32)

Moves the PerspectiveMeasure that has the specified identifier to the specified index in the collection.

public:
 Microsoft::AnalysisServices::PerspectiveMeasure ^ Move(System::String ^ measureId, int toIndex);
public Microsoft.AnalysisServices.PerspectiveMeasure Move (string measureId, int toIndex);
Public Function Move (measureId As String, toIndex As Integer) As PerspectiveMeasure
Parameters
measureId
String String String

The identifier of the PerspectiveMeasure to move.

toIndex
Int32 Int32 Int32

The zero-based index to which to move the PerspectiveMeasure specified by measureID.

Returns
Exceptions

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than Count.

-or-

measureID does not exist in the collection.

Applies to