PresentationElementHelper::GetDslDefinitionModelElement Method (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.

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

public:
[ExtensionAttribute]
static ModelElement^ GetDslDefinitionModelElement(
	PresentationElement^ e
)
Return to top
Show: