語言

CloudCollection.InsertItem(Int32, Cloud) 方法

定義

在指定的索引處插入 a CloudCloudCollection 。

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 項目不能插入收藏。

適用於

另請參閱