Compartir a través de


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

Moves a role to a new position inside the collection.

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

Syntax

'Declaración
Public Sub Move ( _
    item As T, _
    newIndex As Integer _
)
public void Move(
    T item,
    int newIndex
)
public:
void Move(
    T item, 
    int newIndex
)
member Move : 
        item:'T * 
        newIndex:int -> unit 
public function Move(
    item : T, 
    newIndex : int
)

Parameters

  • item
    Type: T
    The role to move.
  • newIndex
    Type: System.Int32
    The new index position of the role in the collection.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

Move Overload

Microsoft.VisualStudio.Modeling Namespace