VsValidationContext.GetExplorerNavigationCommand 方法

返回 TaskMenuCommand 能够定位到模型资源管理器窗口的相应节点此验证消息的。如果相应的节点不存在于模型资源管理器,此属性返回 null。

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

语法

声明
Protected Overridable Function GetExplorerNavigationCommand ( _
    referencedModelElements As IList(Of ModelElement) _
) As TaskMenuCommand
protected virtual TaskMenuCommand GetExplorerNavigationCommand(
    IList<ModelElement> referencedModelElements
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Shell.TaskMenuCommand

.NET Framework 安全性

请参见

参考

VsValidationContext 类

Microsoft.VisualStudio.Modeling.Shell 命名空间