PeerContactCollection.SetItem(Int32, PeerContact) Método
Definição
Substitui o PeerContact no índice especificado.Replaces the PeerContact at the specified index.
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 ser substituído.The zero-based index of the element to replace.
- item
- PeerContact
O novo valor para o elemento no índice especificado.The new value for the element at the specified index.
Exceções
O PeerContact fornecido é nullThe PeerContact provided is null
Comentários
Null itens não são permitidos.Null items are not allowed.