PeerApplicationCollection.InsertItem(Int32, PeerApplication) Method

Definition

Inserts a new PeerApplication element into the PeerApplicationCollection at the specified index or key.

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)

Parameters

index
Int32

The zero-based index of the element to replace.

item
PeerApplication

The new value for the element at the specified index.

Remarks

Null items are not allowed.

Applies to

See also