CloudCollection.InsertItem(Int32, Cloud) 方法

定義

Cloud 插入 CloudCollection中指定的索引處。

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

參數

index
Int32

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

item
Cloud

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

例外狀況

提供的 Cloud 不可為 null

備註

Null 項目無法插入集合中。

適用於

另請參閱