PeerObjectCollection.InsertItem(Int32, PeerObject) Metodo

Definizione

Inserisce un nuovo PeerObject elemento nell'oggetto PeerObjectCollection in corrispondenza dell'indice o della chiave specificata.

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)

Parametri

index
Int32

Indice in base zero in cui risiede l'elemento.

item
PeerObject

Nuovo valore per l'elemento nell'indice specificato.

Eccezioni

L'argomento item è null.

Commenti

Null gli elementi value non sono consentiti.

Si applica a

Vedi anche