ModelExplorerTreeContainer.ContextMenuCommandId Property

Gets the shortcut menu to display for Model Explorer.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Protected Overridable ReadOnly Property ContextMenuCommandId As CommandID
'使用
Dim value As CommandID

value = Me.ContextMenuCommandId
protected virtual CommandID ContextMenuCommandId { get; }
protected:
virtual property CommandID^ ContextMenuCommandId {
    CommandID^ get ();
}
protected function get ContextMenuCommandId () : CommandID

Property Value

Type: System.ComponentModel.Design.CommandID

The command ID that is assigned to the shortcut menu.

Permissions

See Also

Reference

ModelExplorerTreeContainer Class

ModelExplorerTreeContainer Members

Microsoft.VisualStudio.Modeling.Shell Namespace