DslDefinitionModelElementTypeDescriptor.GetProperties Method (array<Attribute )
Method to supply our own set of property descriptors for the designated ModelElement.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.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[]
Return Value
Type: System.ComponentModel.PropertyDescriptorCollection
Implements
ICustomTypeDescriptor.GetProperties(array<Attribute[])
.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.
See Also
Reference
DslDefinitionModelElementTypeDescriptor Class
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace