VsValidationContext.GetNavigationProxyModelElements 方法

返回在模型元素传递的替代模型元素。考虑 *viewed* 表示模型元素的情况 (PELs) 表示模型元素是代理对模型验证时报告的实际有问题的模型元素。

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

语法

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

参数

返回值

类型:System.Collections.Generic.IEnumerable<ModelElement>
表示模型元素传递的所有代理元素的只读集合。

.NET Framework 安全性

请参见

参考

VsValidationContext 类

Microsoft.VisualStudio.Modeling.Shell 命名空间