共用方式為


IVsMenuItem Interface

Definition

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

public interface class IVsMenuItem
public interface class IVsMenuItem
__interface IVsMenuItem
[System.Runtime.InteropServices.Guid("DC0A8728-F58B-4444-B9F0-32D6868BF399")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsMenuItem
[System.Runtime.InteropServices.Guid("DC0A8728-F58B-4444-B9F0-32D6868BF399")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMenuItem
[<System.Runtime.InteropServices.Guid("DC0A8728-F58B-4444-B9F0-32D6868BF399")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsMenuItem = interface
[<System.Runtime.InteropServices.Guid("DC0A8728-F58B-4444-B9F0-32D6868BF399")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMenuItem = interface
Public Interface IVsMenuItem
Attributes

Methods

IMIGetExtraProps(IStream)

Gets menu item properties not directly handled by the menu editor (IVsMenuEditor).

IMIGetProp(Int32, Object)

Gets a standard menu item property.

IMISetExtraProps(IStream)

Sets menu item properties not directly handled by the menu editor (IVsMenuEditor).

IMISetProp(Int32, Object)

Sets a standard menu item property.

Applies to