MenuCommandsService.ShowContextMenu 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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