PeerContactCollection.InsertItem(Int32, PeerContact) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したインデックスまたはキーのPeerContactに新しいPeerContactCollection要素を挿入します。
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
指定したインデックス位置にある要素の新しい値。
例外
提供される PeerContact は次の場合です。 null
注釈
Null 項目は許可されません。