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