LinkedElementCollection<T>.Move Method

Definition

Overloads

Move(Int32, Int32)

Moves role player to a new position inside the collection.

Move(T, Int32)

Moves role player to a new position inside the collection.

Move(Int32, Int32)

Moves role player to a new position inside the collection.

public:
 void Move(int oldIndex, int newIndex);
public void Move (int oldIndex, int newIndex);
member this.Move : int * int -> unit
Public Sub Move (oldIndex As Integer, newIndex As Integer)

Parameters

oldIndex
Int32

Current index of the role player inside collection.

newIndex
Int32

New position of the role player inside collection.

Applies to

Move(T, Int32)

Moves role player to a new position inside the collection.

public:
 void Move(T item, int newIndex);
public void Move (T item, int newIndex);
member this.Move : 'T * int -> unit
Public Sub Move (item As T, newIndex As Integer)

Parameters

item
T

Role player to be moved.

newIndex
Int32

New index of the role player inside collection.

Applies to