PeerObjectCollection.InsertItem(Int32, PeerObject) 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.
Insère un nouvel PeerObject élément dans l’index PeerObjectCollection ou la clé spécifié.
protected:
override void InsertItem(int index, System::Net::PeerToPeer::Collaboration::PeerObject ^ item);
protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerObject item);
override this.InsertItem : int * System.Net.PeerToPeer.Collaboration.PeerObject -> unit
Protected Overrides Sub InsertItem (index As Integer, item As PeerObject)
Paramètres
- index
- Int32
Index de base zéro dans lequel réside l’élément.
- item
- PeerObject
Nouvelle valeur de l’élément dans l’index spécifié.
Exceptions
L’argument item est null.
Remarques
Null les éléments de valeur ne sont pas autorisés.