CustomTypeDescriptor::GetProperties Method (array<Attribute^>^)

 

Returns a filtered collection of property descriptors for the object represented by this type descriptor.

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

public:
virtual PropertyDescriptorCollection^ GetProperties(
	array<Attribute^>^ attributes
)

Parameters

attributes
Type: array<System::Attribute^>^

An array of attributes to use as a filter. This can be null.

Return Value

Type: System.ComponentModel::PropertyDescriptorCollection^

A PropertyDescriptorCollection containing the property descriptions for the object represented by this type descriptor. The default is Empty.

You can use the attributes parameter to filter the collection that is returned. For filtering rules, see GetProperties.

If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetProperties method will call the parent's corresponding method.

.NET Framework
Available since 2.0
Return to top
Show: