ValidationContext.GetNavigationProxyModelElements 方法

验证时,错误在设计时,获取生成代理模型元素。

命名空间:  Microsoft.VisualStudio.Modeling.Validation
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

语法

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

参数

返回值

类型:System.Collections.Generic.IEnumerable<ModelElement>
代理模型元素。

备注

使用此方法,则表示模型元素是代理。在设计导致验证错误的一个模型元素中。

.NET Framework 安全性

请参见

参考

ValidationContext 类

Microsoft.VisualStudio.Modeling.Validation 命名空间