PresentationElementHelper::GetDslDefinitionModelElement Method (PresentationElement^)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
public: [ExtensionAttribute] static ModelElement^ GetDslDefinitionModelElement( PresentationElement^ e )
Parameters
Show: