MenuCommandsService.ShowContextMenu 方法

定义

重载

ShowContextMenu(ServiceProvider, CommandID)
ShowContextMenu(CommandID, Int32, Int32)
ShowContextMenu(ServiceProvider, CommandID, Int32, Int32)

ShowContextMenu(ServiceProvider, CommandID)

public:
 void ShowContextMenu(Microsoft::SqlServer::Management::UI::VSIntegration::ServiceProvider ^ sp, System::ComponentModel::Design::CommandID ^ menuID);
public void ShowContextMenu (Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider sp, System.ComponentModel.Design.CommandID menuID);
member this.ShowContextMenu : Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider * System.ComponentModel.Design.CommandID -> unit
Public Sub ShowContextMenu (sp As ServiceProvider, menuID As CommandID)

参数

menuID
CommandID

适用于

ShowContextMenu(CommandID, Int32, Int32)

public:
 virtual void ShowContextMenu(System::ComponentModel::Design::CommandID ^ menuID, int x, int y);
public void ShowContextMenu (System.ComponentModel.Design.CommandID menuID, int x, int y);
abstract member ShowContextMenu : System.ComponentModel.Design.CommandID * int * int -> unit
override this.ShowContextMenu : System.ComponentModel.Design.CommandID * int * int -> unit
Public Sub ShowContextMenu (menuID As CommandID, x As Integer, y As Integer)

参数

menuID
CommandID
x
Int32
y
Int32

实现

适用于

ShowContextMenu(ServiceProvider, CommandID, Int32, Int32)

public:
 void ShowContextMenu(Microsoft::SqlServer::Management::UI::VSIntegration::ServiceProvider ^ sp, System::ComponentModel::Design::CommandID ^ menuID, int x, int y);
public void ShowContextMenu (Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider sp, System.ComponentModel.Design.CommandID menuID, int x, int y);
member this.ShowContextMenu : Microsoft.SqlServer.Management.UI.VSIntegration.ServiceProvider * System.ComponentModel.Design.CommandID * int * int -> unit
Public Sub ShowContextMenu (sp As ServiceProvider, menuID As CommandID, x As Integer, y As Integer)

参数

menuID
CommandID
x
Int32
y
Int32

适用于