PropertyDescriptorCollection.Insert(Int32, PropertyDescriptor) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将集合 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要添加到集合中。
例外
集合为只读。