PeerContactCollection.InsertItem(Int32, PeerContact) Método

Definição

Insere um novo PeerContact elemento no PeerContactCollection índice ou chave especificado.

protected:
 override void InsertItem(int index, System::Net::PeerToPeer::Collaboration::PeerContact ^ item);
protected override void InsertItem(int index, System.Net.PeerToPeer.Collaboration.PeerContact item);
override this.InsertItem : int * System.Net.PeerToPeer.Collaboration.PeerContact -> unit
Protected Overrides Sub InsertItem (index As Integer, item As PeerContact)

Parâmetros

index
Int32

O índice de base zero do elemento a substituir.

item
PeerContact

O novo valor do elemento no índice especificado.

Exceções

O PeerContact fornecido é null

Observações

Null Itens não são permitidos.

Aplica-se a

Ver também