Share via


VsValidationContext.GetNavigationProxyModelElements Method

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaration
Public Overrides Function GetNavigationProxyModelElements ( _
    fromElement As ModelElement _
) As IEnumerable(Of ModelElement)
public override IEnumerable<ModelElement> GetNavigationProxyModelElements(
    ModelElement fromElement
)
public:
virtual IEnumerable<ModelElement^>^ GetNavigationProxyModelElements(
    ModelElement^ fromElement
) override
abstract GetNavigationProxyModelElements : 
        fromElement:ModelElement -> IEnumerable<ModelElement> 
override GetNavigationProxyModelElements : 
        fromElement:ModelElement -> IEnumerable<ModelElement> 
public override function GetNavigationProxyModelElements(
    fromElement : ModelElement
) : IEnumerable<ModelElement>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ModelElement>
A readonly collection of all all the proxy elements which represents the passed in model element.

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace