IVsMenuEditorSite Interface

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("61B34381-6D7C-461D-949A-1AE178CBA00D")]
public interface IVsMenuEditorSite

NameDescription
System_CAPS_pubmethodCreateItem(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.

System_CAPS_pubmethodDeleteItem(IVsMenuItem)

Deletes the given item.

System_CAPS_pubmethodMoveItems(IVsMenuItem, IVsMenuItem, IVsMenuItem, IVsMenuItem)

Moves one or more menu items to a new location.

System_CAPS_pubmethodSelectionChange(IntPtr, VSMESELCMD)

Called when the selection changes.

Return to top
Show: