PropertyDescriptorCollection.Add(PropertyDescriptor) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 PropertyDescriptor 值添加到集合中。
public:
int Add(System::ComponentModel::PropertyDescriptor ^ value);
public int Add(System.ComponentModel.PropertyDescriptor value);
member this.Add : System.ComponentModel.PropertyDescriptor -> int
Public Function Add (value As PropertyDescriptor) As Integer
参数
- value
- PropertyDescriptor
PropertyDescriptor要添加到集合中。
返回
添加到集合中的 PropertyDescriptor 索引。
例外
集合为只读。