Sdílet prostřednictvím


PeerApplicationCollection.InsertItem(Int32, PeerApplication) Metoda

Definice

Vloží nový PeerApplication prvek do objektu PeerApplicationCollection v zadaném indexu nebo klíči.

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

Parametry

index
Int32

Index elementu založený na nule, který se má nahradit

item
PeerApplication

Nová hodnota pro element v zadaném indexu

Poznámky

Null položky nejsou povoleny.

Platí pro

Viz také