PropertyValueCollection.SetIndex(Int32, Int32) Méthode

Définition

Recalcule les index d’une collection d’objets PropertyValue une fois qu’un élément existant est déplacé vers une nouvelle position dans la collection.

public:
 abstract void SetIndex(int currentIndex, int newIndex);
public abstract void SetIndex(int currentIndex, int newIndex);
abstract member SetIndex : int * int -> unit
Public MustOverride Sub SetIndex (currentIndex As Integer, newIndex As Integer)

Paramètres

currentIndex
Int32

Index de position actuel de l’objet dans la collection.

newIndex
Int32

Position d’index vers laquelle l’élément est déplacé.

S’applique à