IVsMenuEditorSite Interface

Definition

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

[System.Runtime.InteropServices.Guid("61B34381-6D7C-461D-949A-1AE178CBA00D")]
[System.Runtime.InteropServices.InterfaceType(1)]
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