PeerContactCollection.SetItem(Int32, PeerContact) Método

Definição

Substitui o PeerContact no índice especificado.

protected:
 override void SetItem(int index, System::Net::PeerToPeer::Collaboration::PeerContact ^ item);
protected override void SetItem(int index, System.Net.PeerToPeer.Collaboration.PeerContact item);
override this.SetItem : int * System.Net.PeerToPeer.Collaboration.PeerContact -> unit
Protected Overrides Sub SetItem (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