This member overrides ElementTypeDescriptor.GetProperties([]).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection
'使用
Dim instance As PresentationElementTypeDescriptor
Dim attributes As Attribute()
Dim returnValue As PropertyDescriptorCollection
returnValue = instance.GetProperties(attributes)
public override PropertyDescriptorCollection GetProperties(
Attribute[] attributes
)
public:
virtual PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
) override
public override function GetProperties(
attributes : Attribute[]
) : PropertyDescriptorCollection
Parameters
- attributes
Type: []
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
Implements
ICustomTypeDescriptor.GetProperties([])
Permissions
- 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.
See Also
Reference
PresentationElementTypeDescriptor Class