PropertyValueCollection.SetIndex(Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.