Edit

Share via


PeerApplicationCollection.SetItem(Int32, PeerApplication) Method

Definition

Replaces the PeerApplication at the specified index.

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