Partager via


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("61B34381-6D7C-461D-949A-1AE178CBA00D")> _
Public Interface IVsMenuEditorSite
[InterfaceTypeAttribute()]
[GuidAttribute("61B34381-6D7C-461D-949A-1AE178CBA00D")]
public interface IVsMenuEditorSite
[InterfaceTypeAttribute()]
[GuidAttribute(L"61B34381-6D7C-461D-949A-1AE178CBA00D")]
public interface class IVsMenuEditorSite
[<InterfaceTypeAttribute()>]
[<GuidAttribute("61B34381-6D7C-461D-949A-1AE178CBA00D")>]
type IVsMenuEditorSite =  interface end
public interface IVsMenuEditorSite

The IVsMenuEditorSite type exposes the following members.

Methods

  Name Description
Public method CreateItem 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.
Public method DeleteItem Deletes the given item.
Public method MoveItems Moves one or more menu items to a new location.
Public method SelectionChange Called when the selection changes.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace