Partager via


ModelExplorerTreeContainer.ContextMenuCommandId Property

Gets the shortcut menu to display for Model Explorer.

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

Syntax

'Déclaration
Protected Overridable ReadOnly Property ContextMenuCommandId As CommandID
    Get
protected virtual CommandID ContextMenuCommandId { get; }
protected:
virtual property CommandID^ ContextMenuCommandId {
    CommandID^ get ();
}
abstract ContextMenuCommandId : CommandID
override ContextMenuCommandId : CommandID
function get ContextMenuCommandId () : CommandID

Property Value

Type: System.ComponentModel.Design.CommandID
The command ID that is assigned to the shortcut menu.

.NET Framework Security

See Also

Reference

ModelExplorerTreeContainer Class

Microsoft.VisualStudio.Modeling.Shell Namespace