Partager via


AttributeTranslationCollection.Move Method

Definition

Overloads

Move(AttributeTranslation, Int32)

Moves the specified AttributeTranslation to a new position in the collection.

Move(Int32, Int32)

Moves an AttributeTranslation in the collection from the current position to a new one.

Move(AttributeTranslation, Int32)

Moves the specified AttributeTranslation to a new position in the collection.

public void Move (Microsoft.AnalysisServices.AttributeTranslation item, int toIndex);
override this.Move : Microsoft.AnalysisServices.AttributeTranslation * int -> unit
Public Sub Move (item As AttributeTranslation, toIndex As Integer)

Parameters

toIndex
Int32

The zero-based index to which to move the specified AttributeTranslation.

Exceptions

  • The specified AttributeTranslation does not exist the collection.
  • The specified toIndex is not a valid value (less than zero or bigger then the total number of elements).

Applies to

Move(Int32, Int32)

Moves an AttributeTranslation in the collection from the current position to a new one.

public Microsoft.AnalysisServices.AttributeTranslation Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.AttributeTranslation
Public Function Move (fromIndex As Integer, toIndex As Integer) As AttributeTranslation

Parameters

fromIndex
Int32

The zero-based index of the AttributeTranslation to be moved.

toIndex
Int32

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

Returns

The AttributeTranslation that was moved.

Exceptions

  • The specified fromIndex is not a valid value (less than zero or bigger then the total number of elements).
  • The specified toIndex is not a valid value (less than zero or bigger then the total number of elements).

Applies to