ModelItemCollection.Move(Int32, Int32) Méthode

Définition

Déplace un élément dans la collection vers un index différent.

public:
 abstract void Move(int fromIndex, int toIndex);
public abstract void Move (int fromIndex, int toIndex);
abstract member Move : int * int -> unit
Public MustOverride Sub Move (fromIndex As Integer, toIndex As Integer)

Paramètres

fromIndex
Int32

Index de l'élément à déplacer avant son déplacement.

toIndex
Int32

Index de l'élément après son déplacement.

Exceptions

fromIndex ou toIndex est négatif ou supérieur ou égal à Count.

S’applique à