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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.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<System.Attribute[]
The array of custom attributes on which to filter.
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
The collection of domain property descriptors that contains all the properties of the described type, filtered by the specified attributes.
Implements
ICustomTypeDescriptor.GetProperties(array<Attribute[])
Remarks
The base implementation of this method does not filter out any of the properties of the element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.