Freigeben über


ValidationContext.GetNavigationProxyModelElements-Methode

Ruft die Proxymodellelemente ab, wenn ein Validierungsfehler im Modell auftritt.

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

Syntax

'Declaration
Public Overridable Function GetNavigationProxyModelElements ( _
    fromElement As ModelElement _
) As IEnumerable(Of ModelElement)
public virtual IEnumerable<ModelElement> GetNavigationProxyModelElements(
    ModelElement fromElement
)

Parameter

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<ModelElement>
Der Proxymodellelemente.

Hinweise

Diese Methode wird verwendet, wenn Darstellungsmodellelemente Proxy zu einem Modellelement sind, das einen Validierungsfehler im Modell verursacht hat.

.NET Framework-Sicherheit

Siehe auch

Referenz

ValidationContext Klasse

Microsoft.VisualStudio.Modeling.Validation-Namespace