ElementTypeDescriptor.GetProperties Method (array<Attribute )

Returns a collection of domain property descriptors that contains all the properties of the described type, filtered by the specified attributes.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Overrides Function GetProperties ( _
    attributes As Attribute() _
) As PropertyDescriptorCollection
public override PropertyDescriptorCollection GetProperties(
    Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
    array<Attribute^>^ attributes
) override
abstract GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection  
override GetProperties : 
        attributes:Attribute[] -> PropertyDescriptorCollection
public override function GetProperties(
    attributes : Attribute[]
) : PropertyDescriptorCollection

Parameters

  • attributes
    Type: array<Attribute[]

    The array of custom attributes on which to filter.

Return Value

Type: PropertyDescriptorCollection
The collection of domain property descriptors that contains all the properties of the described type, filtered by the specified attributes.

Implements

ICustomTypeDescriptor.GetProperties(Attribute)

Remarks

The base implementation of this method does not filter out any of the properties of the element.

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

GetProperties Overload

Microsoft.VisualStudio.Modeling.Design Namespace