IMultiSelectMenuHandler 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 API 不符合 CLS 規範。
提供物件總管中多個項目的右鍵選單處理。
public interface class IMultiSelectMenuHandler : Microsoft::SqlServer::Management::UI::VSIntegration::ObjectExplorer::IMenuHandler
[System.CLSCompliant(false)]
public interface IMultiSelectMenuHandler : Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.IMenuHandler
[<System.CLSCompliant(false)>]
type IMultiSelectMenuHandler = interface
interface IMenuHandler
Public Interface IMultiSelectMenuHandler
Implements IMenuHandler
- 屬性
- 實作
屬性
| 名稱 | Description |
|---|---|
| ContextMenuID |
會取得右鍵選單的指令 ID。 (繼承來源 IMenuHandler) |
| Parent |
取得或設定階層中的父節點。 (繼承來源 IMenuHandler) |
| Parents |
取得或設定多個項目,目標為選單。 |
方法
| 名稱 | Description |
|---|---|
| DoDefaultAction() |
會呼叫預設選單項目。 (繼承來源 IMenuHandler) |
| FillMenuCommands(IMenuCommandService) |
將選單項目填入 MenuCommandService。 (繼承來源 IMenuHandler) |
| InvokeProperties() |
呼叫屬性選單項目。 (繼承來源 IMenuHandler) |
| UpdateMenuCommandsStatus(MenuCommand) |
更新指令狀態。 (繼承來源 IMenuHandler) |
事件
| 名稱 | Description |
|---|---|
| OnRefresh |
當事件處理器被刷新時會發生。 (繼承來源 IMenuHandler) |