VsValidationContext.GetNavigationProxyModelElements 方法

返回在模型元素中传递的替代模型元素。 考虑 *viewed* 表示模型元素 (PELs) 的用例表示模型元素,该模型元素为在模型验证过程中代理到实际有问题的模型元素。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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 命名空间