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

Syntax

'Declaração
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: System.Collections.Generic.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