PeerEndPointCollection.InsertItem(Int32, PeerEndPoint) Método

Definición

Inserta un nuevo PeerEndPoint elemento en en el PeerEndPointCollection índice o clave especificados.

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)

Parámetros

index
Int32

Índice de base cero del elemento que se va a reemplazar.

item
PeerEndPoint

Nuevo valor para el elemento en el índice especificado.

Excepciones

El item argumento es null.

Comentarios

Null no se permiten elementos de valor.

Se aplica a

Consulte también