DiagramDocView.ContextMenuId 属性

获取当用户右击该关系图视图时显示的快捷菜单。

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

语法

声明
Protected MustOverride ReadOnly Property ContextMenuId As CommandID
protected abstract CommandID ContextMenuId { get; }

属性值

类型:System.ComponentModel.Design.CommandID
分配给快捷菜单的命令 ID。

.NET Framework 安全性

请参阅

参考

DiagramDocView 类

Microsoft.VisualStudio.Modeling.Shell 命名空间