DslDefinitionModelElementTypeDescriptor.GetExtensionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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