Freigeben über


LinkedElementCollection<T>.Move Method (Int32, Int32)

Moves a role to a new position inside the collection.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Sub Move ( _
    oldIndex As Integer, _
    newIndex As Integer _
)
public void Move(
    int oldIndex,
    int newIndex
)
public:
void Move(
    int oldIndex, 
    int newIndex
)
member Move : 
        oldIndex:int * 
        newIndex:int -> unit
public function Move(
    oldIndex : int, 
    newIndex : int
)

Parameters

  • oldIndex
    Type: System.Int32

    The current index of the role in the collection.

  • newIndex
    Type: System.Int32

    The new index of the role in the collection.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Move Overload

Microsoft.VisualStudio.Modeling Namespace