PeerEndPointCollection.InsertItem(Int32, PeerEndPoint) メソッド

定義

PeerEndPointCollection 内の指定したインデックスまたはキーの位置に新しい PeerEndPoint を挿入します。

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

パラメーター

index
Int32

置き換える要素の 0 から始まるインデックス番号。

item
PeerEndPoint

指定したインデックス位置に存在する要素の新しい値。

例外

item 引数が null です。

注釈

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

適用対象

こちらもご覧ください