語言

IExtendContextMenu 介面

定義

啟用快速插入功能,將項目加入現有的快捷選單。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public interface class IExtendContextMenu
[System.Runtime.InteropServices.Guid("4F3B7A4F-CFAC-11CF-B8E3-00C04FD8D5B0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IExtendContextMenu
[<System.Runtime.InteropServices.Guid("4F3B7A4F-CFAC-11CF-B8E3-00C04FD8D5B0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IExtendContextMenu = interface
Public Interface IExtendContextMenu
屬性

備註

欲了解更多使用 IExtendContextMenu 介面及 Microsoft Management Console(MMC)程式設計的資訊,請參閱 MMC 程式設計師指南。

方法

名稱 Description
AddMenuItems(IDataObject, IContextMenuCallback, Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

啟用快速插入功能,將項目加入現有的快捷選單。

Command(Int32, IDataObject)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

當你新增的快捷鍵項目被選取時,Microsoft Management Console(MMC)會呼叫 Command 方法。

適用於