PeerContactCollection.InsertItem(Int32, PeerContact) メソッド

定義

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

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

パラメーター

index
Int32

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

item
PeerContact

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

例外

提供された PeerContactnull です。

注釈

Null 項目は許可されません。

適用対象

こちらもご覧ください