PropertyDescriptorCollection.Insert(Int32, PropertyDescriptor) 方法

定義

在指定的索引編號將 PropertyDescriptor 加入集合。

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

參數

index
Int32

要將 value 參數加入集合的索引處。

value
PropertyDescriptor

要加入至集合的 PropertyDescriptor

例外狀況

集合是唯讀的。

適用於