PresentationElementHelper Methods

 

Namespace:   Microsoft.VisualStudio.Modeling.DslDesigner
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetDslDefinitionModelElement(PresentationElement^)

This method guarantees that the real model element corresponding to the PresentationElement is returned.

For DslDesigner PELs, the corresponding subject may actually be an internal TreeNode class and not the actual MEL.

This method handles those cases correctly so that the actual MEL is returned.

Return to top
Show: