PeerEndPointCollection.InsertItem(Int32, PeerEndPoint) Método

Definição

Insere um novo elemento PeerEndPoint no PeerEndPointCollection na chave ou no índice especificado.

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

O índice de base zero do elemento a ser substituído.

item
PeerEndPoint

O novo valor para o elemento no índice especificado.

Exceções

O argumento item é null.

Comentários

Null elementos value não são permitidos.

Aplica-se a

Confira também