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, après qu'un élément existant a été déplacé vers un nouvel emplacement de 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 d’emplacement actuel de l’objet dans la collection.
- newIndex
- Int32
Emplacement de l'index vers lequel l'élément est déplacé.