PeerObjectCollection.InsertItem(Int32, PeerObject) Método

Definição

Insere um novo PeerObject elemento no PeerObjectCollection índice ou chave especificado.

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

Parâmetros

index
Int32

O índice baseado em zero em que o elemento reside.

item
PeerObject

O novo valor para o 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