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 无法将项插入到集合中。

适用于

另请参阅