ValidationContext::GetNavigationProxyModelElements Method (ModelElement^)

 

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

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

public:
virtual IEnumerable<ModelElement^>^ GetNavigationProxyModelElements(
	ModelElement^ fromElement
)

Parameters

fromElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

The model element that caused a validation error in the model.

Return Value

Type: System.Collections.Generic::IEnumerable<ModelElement^>^

The proxy model elements.

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

Return to top
Show: