PeerEndPointCollection.InsertItem(Int32, PeerEndPoint) Método

Definição

Insere um novo PeerEndPoint elemento no PeerEndPointCollection índice ou chave 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 substituir.

item
PeerEndPoint

O novo valor do elemento no índice especificado.

Exceções

O item argumento é null.

Observações

Null Elementos de valor não são permitidos.

Aplica-se a

Ver também