Udostępnij za pośrednictwem


Metoda ValidationContext.GetNavigationProxyModelElements —

Pobiera elementy modelu z serwera proxy, gdy wystąpi błąd sprawdzania poprawności w modelu.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Validation
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

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

Parametry

Wartość zwracana

Typ: System.Collections.Generic.IEnumerable<ModelElement>
Elementy modelu serwera proxy.

Uwagi

Ta metoda jest używana, gdy elementy modelu prezentacji są serwery proxy do elementu modelu, który spowodował błąd sprawdzania poprawności w modelu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

ValidationContext Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Validation