PropertyDescriptorCollection.Contains(PropertyDescriptor) Method

Definition

Returns whether the collection contains the given PropertyDescriptor.

public:
 bool Contains(System::ComponentModel::PropertyDescriptor ^ value);
public bool Contains (System.ComponentModel.PropertyDescriptor value);
member this.Contains : System.ComponentModel.PropertyDescriptor -> bool
Public Function Contains (value As PropertyDescriptor) As Boolean

Parameters

value
PropertyDescriptor

The PropertyDescriptor to find in the collection.

Returns

Boolean

true if the collection contains the given PropertyDescriptor; otherwise, false.

Applies to