Share via


TranslationCollection.Move Method (Translation, Int32)

 

Applies To: SQL Server (starting with 2016)

Moves a Translation to a new index in the collection.

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

Syntax

public void Move(
    Translation item,
    int toIndex
)
public:
void Move(
    Translation^ item,
    int toIndex
)
member Move : 
        item:Translation *
        toIndex:int -> unit
Public Sub Move (
    item As Translation,
    toIndex As Integer
)

Parameters

Exceptions

Exception Condition
ArgumentOutOfRangeException

toIndex is less than zero.-or-toIndex is equal to or greater than Count.-or-item is not contained by the collection.

See Also

Move Overload
TranslationCollection Class
Microsoft.AnalysisServices Namespace

Return to top