次の方法で共有


IVsMenuEditorSite Interface

Definition

Describes the site for an IVsMenuEditor instance. Provided by the environment and used by the IVsMenuEditor instance.

public interface class IVsMenuEditorSite
public interface class IVsMenuEditorSite
__interface IVsMenuEditorSite
[System.Runtime.InteropServices.Guid("61B34381-6D7C-461D-949A-1AE178CBA00D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsMenuEditorSite
[System.Runtime.InteropServices.Guid("61B34381-6D7C-461D-949A-1AE178CBA00D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMenuEditorSite
[<System.Runtime.InteropServices.Guid("61B34381-6D7C-461D-949A-1AE178CBA00D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsMenuEditorSite = interface
[<System.Runtime.InteropServices.Guid("61B34381-6D7C-461D-949A-1AE178CBA00D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMenuEditorSite = interface
Public Interface IVsMenuEditorSite
Attributes

Methods

CreateItem(IVsMenuItem, IVsMenuItem, IVsMenuItem)

The host is responsible for giving the menu a unique name, and providing back to IVsMenuEditor a valid IVsMenuItem*. As in IVsMenuEditor::AddItem, both IMIParent and pIMIInsertAfter can be NULL.

DeleteItem(IVsMenuItem)

Deletes the given item.

MoveItems(IVsMenuItem, IVsMenuItem, IVsMenuItem, IVsMenuItem)

Moves one or more menu items to a new location.

SelectionChange(IntPtr, VSMESELCMD)

Called when the selection changes.

Applies to