Compartir a través de


IVsMenuItem Interface

Enables form designers to use the shared menu editor. Implemented by the environment.

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

Syntax

'Declaration
<GuidAttribute("DC0A8728-F58B-4444-B9F0-32D6868BF399")> _
<InterfaceTypeAttribute()> _
Public Interface IVsMenuItem
[GuidAttribute("DC0A8728-F58B-4444-B9F0-32D6868BF399")]
[InterfaceTypeAttribute()]
public interface IVsMenuItem
[GuidAttribute(L"DC0A8728-F58B-4444-B9F0-32D6868BF399")]
[InterfaceTypeAttribute()]
public interface class IVsMenuItem
[<GuidAttribute("DC0A8728-F58B-4444-B9F0-32D6868BF399")>]
[<InterfaceTypeAttribute()>]
type IVsMenuItem =  interface end
public interface IVsMenuItem

The IVsMenuItem type exposes the following members.

Methods

  Name Description
Public method IMIGetExtraProps Gets menu item properties not directly handled by the menu editor (IVsMenuEditor).
Public method IMIGetProp Gets a standard menu item property.
Public method IMISetExtraProps Sets menu item properties not directly handled by the menu editor (IVsMenuEditor).
Public method IMISetProp Sets a standard menu item property.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace