PropertyDescriptorCollection.Add(PropertyDescriptor) 方法

定义

将指定的 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 索引。

例外

集合为只读。

适用于