Share via


SqlScriptEditorControl.ScriptEditorContextMenuID Property

Gets the identifier of the context menu that should be shown when user right clicks on script editor.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Protected Overrides ReadOnly Property ScriptEditorContextMenuID As Integer 
    Get
'Usage
Dim value As Integer 

value = Me.ScriptEditorContextMenuID
protected override int ScriptEditorContextMenuID { get; }
protected:
virtual property int ScriptEditorContextMenuID {
    int get () override;
}
abstract ScriptEditorContextMenuID : int 
override ScriptEditorContextMenuID : int
override function get ScriptEditorContextMenuID () : int

Property Value

Type: System.Int32
An integer value identifier.

Remarks

While debugging, the context menu that shows up will be standard VSStandardCommands97.IDM_VS_CTXT_CODEWIN context menu. This context menu is different from the Sql Editor context menu that comes up when no debugging is going on. It has debugger specific commands like Breakpoint and RuntoCursor.

See Also

Reference

SqlScriptEditorControl Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace