PresentationElementHelper.GetDslDefinitionModelElement Method

Definition

This method ensures 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.

C++
public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Modeling::ModelElement ^ GetDslDefinitionModelElement(Microsoft::VisualStudio::Modeling::Diagrams::PresentationElement ^ e);

Parameters

Returns

Applies to

Product Versions
Visual Studio SDK 2017, 2019