Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropertyDescriptorCollection.Contains Method (PropertyDescriptor)


Returns whether the collection contains the given PropertyDescriptor.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public bool Contains(
	PropertyDescriptor value


Type: System.ComponentModel.PropertyDescriptor

The PropertyDescriptor to find in the collection.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top
© 2017 Microsoft