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
声明
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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.