PropertyValueCollection.Insert(Int32, Object) 方法

定义

将属性值插入到此集合中的指定索引处。

public:
 void Insert(int index, System::Object ^ value);
public void Insert(int index, object? value);
public void Insert(int index, object value);
member this.Insert : int * obj -> unit
Public Sub Insert (index As Integer, value As Object)

参数

index
Int32

要插入属性值的从零开始的索引。

value
Object

要插入的属性值。

例外

属性值为 null 引用(Visual Basic 中的 Nothing)。

调用基础接口期间发生错误。

索引小于 0(零)或大于集合的大小。

适用于