Freigeben über


DslDefinitionModelElementTypeDescriptor.GetExtensionProperties Method

Definition

Returns the property descriptors for any extension elements

protected:
 override System::Collections::Generic::IEnumerable<System::ComponentModel::PropertyDescriptor ^> ^ GetExtensionProperties(Microsoft::VisualStudio::Modeling::ModelElement ^ baseElement, cli::array <Attribute ^> ^ attributes);
protected override System.Collections.Generic.IEnumerable<System.ComponentModel.PropertyDescriptor> GetExtensionProperties (Microsoft.VisualStudio.Modeling.ModelElement baseElement, Attribute[] attributes);
override this.GetExtensionProperties : Microsoft.VisualStudio.Modeling.ModelElement * Attribute[] -> seq<System.ComponentModel.PropertyDescriptor>
Protected Overrides Function GetExtensionProperties (baseElement As ModelElement, attributes As Attribute()) As IEnumerable(Of PropertyDescriptor)

Parameters

baseElement
ModelElement

The current element being described

attributes
Attribute[]

An array of type Attribute that is used as a filter.

Returns

A collection containing the properties of all extension elements

Remarks

Override in order to provide a specialised property descriptor that knows how to do the Shape->TreeNode->DomainClass mapping we need in the DslDesigner

Applies to