Share via


VsValidationContext.GetNavigationProxyModelElements(ModelElement) Method

Definition

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.

public:
 override System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetNavigationProxyModelElements(Microsoft::VisualStudio::Modeling::ModelElement ^ fromElement);
public override System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> GetNavigationProxyModelElements (Microsoft.VisualStudio.Modeling.ModelElement fromElement);
override this.GetNavigationProxyModelElements : Microsoft.VisualStudio.Modeling.ModelElement -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
Public Overrides Function GetNavigationProxyModelElements (fromElement As ModelElement) As IEnumerable(Of ModelElement)

Parameters

fromElement
ModelElement

the reported offending model element

Returns

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

Applies to