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
)

Parameters

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
Show: