ShowContextMenu Method (, CommandID)
Namespace: Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration
Assembly: Microsoft.VisualStudio.Data.Tools.SqlEditor (in Microsoft.VisualStudio.Data.Tools.SqlEditor.dll)
Syntax
'Declaration
Public Sub ShowContextMenu ( _
sp As ServiceProvider, _
menuID As CommandID _
)
'Usage
Dim instance As MenuCommandsService
Dim sp As ServiceProvider
Dim menuID As CommandID
instance.ShowContextMenu(sp, menuID)
public void ShowContextMenu(
ServiceProvider sp,
CommandID menuID
)
public:
void ShowContextMenu(
ServiceProvider^ sp,
CommandID^ menuID
)
member ShowContextMenu :
sp:ServiceProvider *
menuID:CommandID -> unit
public function ShowContextMenu(
sp : ServiceProvider,
menuID : CommandID
)
Parameters
- sp
Type: ServiceProvider
- menuID
Type: System.ComponentModel.Design..::..CommandID
See Also
Reference
Microsoft.VisualStudio.Data.Tools.SqlEditor.VSIntegration Namespace