VsValidationContext.GetNavigationProxyModelElements Method (ModelElement)


Returns the substitutes model element for the passed in model element. Consider the case where the *viewed* presentation model element(s) (PELs) represents the model element(s) which are proxies to the actual offending model element reported during the model validation.

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

public override IEnumerable<ModelElement> GetNavigationProxyModelElements(
	ModelElement fromElement


Type: Microsoft.VisualStudio.Modeling.ModelElement

the reported offending model element

Return Value

Type: System.Collections.Generic.IEnumerable<ModelElement>

A readonly collection of all all the proxy elements which represents the passed in model element.

Return to top