共用方式為


PresentationElementTypeDescriptor.GetProperties Method (array<Attribute )

Returns the properties for this instance of a component using the attribute array as a filter.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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[]
    An array of type Attribute that is used as a filter.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

Implements

ICustomTypeDescriptor.GetProperties(array<Attribute[])

.NET Framework Security

See Also

Reference

PresentationElementTypeDescriptor Class

GetProperties Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace