Aracılığıyla paylaş


TranslationCollection.Move Method

Definition

Overloads

Move(Translation, Int32)

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

Move(Int32, Int32)

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

Move(Translation, Int32)

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

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

Parameters

item
Translation

The Translation to be moved.

toIndex
Int32

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

Exceptions

  • The specified Translation 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 a Translation in the collection from the current position to a new one.

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

Parameters

fromIndex
Int32

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

toIndex
Int32

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

Returns

The Translation 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