PropertyDescriptorCollection.Add(PropertyDescriptor) PropertyDescriptorCollection.Add(PropertyDescriptor) PropertyDescriptorCollection.Add(PropertyDescriptor) PropertyDescriptorCollection.Add(PropertyDescriptor) Method

定義

將指定的 PropertyDescriptor 加入至集合。Adds the specified PropertyDescriptor to the collection.

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

參數

傳回

已加入至集合之 PropertyDescriptor 的索引。The index of the PropertyDescriptor that was added to the collection.

例外狀況

適用於