Share via


PeerApplicationCollection.InsertItem(Int32, PeerApplication) 方法

定義

將新的 PeerApplication 項目插入至 PeerApplicationCollection 中指定的索引位置或索引鍵。

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)

參數

index
Int32

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

item
PeerApplication

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

備註

Null 不允許專案。

適用於

另請參閱