PeerEndPointCollection.InsertItem(Int32, PeerEndPoint) Método

Definição

Insere um novo PeerEndPoint elemento PeerEndPointCollection no í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 baseado em zero do elemento a ser substituído.

item
PeerEndPoint

O novo valor do elemento no índice especificado.

Exceções

O item argumento é null.

Comentários

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

Aplica-se a

Confira também