Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Specifies Menu Editor property IDs.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Enumeration __VSMEPROPID
public enum __VSMEPROPID
public enum class __VSMEPROPID
type __VSMEPROPID
public enum __VSMEPROPID
Members
| Member name | Description | |
|---|---|---|
| VSMEPROPID_ACCEL | Accelerator (shortcut key) | |
| VSMEPROPID_BARBREAK | Divider bar | |
| VSMEPROPID_BOLD | Bold caption | |
| VSMEPROPID_BREAK | Dividing space | |
| VSMEPROPID_CAPTION | Caption | |
| VSMEPROPID_CHECKED | Checked item | |
| VSMEPROPID_ENABLED | Enabled item | |
| VSMEPROPID_EXTRAPROPS | Shows that a menu can be expanded to show additional items. | |
| VSMEPROPID_FIRST | Indicates first VSMEPROPID_ | |
| VSMEPROPID_LAST | Indicates last VSMEPROPID_ | |
| VSMEPROPID_NAME | Name | |
| VSMEPROPID_RADIOCHECK | Radio check box | |
| VSMEPROPID_RIGHTJUSTIFY | Right justified text | |
| VSMEPROPID_VISIBLE | Visible item |
Remarks
The VSMEPROPID enumeration is used with IVsMenuItem, IMenuEditorSite, and OnChange.
COM Signature
From vsshell.idl:
enum __VSMEPROPID
{
VSMEPROPID_FIRST = -1000,
VSMEPROPID_NAME = -1000, // VT_BSTR
VSMEPROPID_CAPTION = -1001, // VT_BSTR
VSMEPROPID_CHECKED = -1002, // VT_BOOL
VSMEPROPID_ENABLED = -1003, // VT_BOOL
VSMEPROPID_VISIBLE = -1004, // VT_BOOL
VSMEPROPID_BOLD = -1005, // VT_BOOL
VSMEPROPID_ACCEL = -1006, // VT_I4 - (DWORD)
VSMEPROPID_RADIOCHECK = -1007, // VT_BOOL
VSMEPROPID_EXTRAPROPS = -1008,
VSMEPROPID_BREAK = -1009,
VSMEPROPID_BARBREAK = -1010,
VSMEPROPID_RIGHTJUSTIFY = -1011,
VSMEPROPID_LAST = -1011
};
typedef LONG VSMEPROPID;