ValidationContext.GetNavigationProxyModelElements Method

Gets the proxy model elements when a validation error occurs in the model.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

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

Parameters

Return Value

Type: IEnumerable<ModelElement>
The proxy model elements.

Remarks

This method is used when presentation model elements are proxies to a model element that has caused a validation error in the model.

.NET Framework Security

See Also

Reference

ValidationContext Class

Microsoft.VisualStudio.Modeling.Validation Namespace