IVsMenuEditorSite Interface


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

public interface IVsMenuEditorSite


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.


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