Partilhar via


ValidationContext.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:
 virtual System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetNavigationProxyModelElements(Microsoft::VisualStudio::Modeling::ModelElement ^ fromElement);
public virtual System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.ModelElement> GetNavigationProxyModelElements (Microsoft.VisualStudio.Modeling.ModelElement fromElement);
abstract member GetNavigationProxyModelElements : Microsoft.VisualStudio.Modeling.ModelElement -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
override this.GetNavigationProxyModelElements : Microsoft.VisualStudio.Modeling.ModelElement -> seq<Microsoft.VisualStudio.Modeling.ModelElement>
Public Overridable 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