Share via


PeerApplicationCollection.SetItem(Int32, PeerApplication) 方法

定義

取代指定索引處的 PeerApplication

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)

參數

index
Int32

要取代的項目之以零起始的索引。

item
PeerApplication

指定之索引處的項目新值。

備註

Null 不允許專案。

適用於

另請參閱