PeerObjectCollection.InsertItem(Int32, PeerObject) メソッド

定義

指定したインデックスまたはキーのPeerObjectに新しいPeerObjectCollection要素を挿入します。

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

パラメーター

index
Int32

要素が存在する 0 から始まるインデックス。

item
PeerObject

指定したインデックス内の要素の新しい値。

例外

item引数はnull

注釈

Null value 要素は使用できません。

適用対象

こちらもご覧ください