ModelItemCollection.Move(Int32, Int32) Méthode

Définition

Déplace un élément de la collection vers un autre index.

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 le déplacement.

toIndex
Int32

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

Exceptions

Ou fromIndextoIndex est négatif ou supérieur ou égal à Count.

S’applique à