MEINIT Structure
Contains values for the Menu editor initialization. Used with CreateMenuEditor calls.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Structure MEINIT
public struct MEINIT
public value class MEINIT
[<Sealed>]
type MEINIT = struct end
JScript supports the use of structures, but not the declaration of new ones.
The MEINIT type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
![]() |
cchNameLimit | DWORD containing the maximum number of characters in the name. |
![]() |
cchTextLimit | DWORD Specifying the maximum numbers of characters in menu item captions. |
![]() |
dwFlags | DWORD specifying flags for support/no support of certain properties. Values are taken from the __VSMEINIT enumeration. |
![]() |
dwSizeOfStruct | DWORD specifying the size of the struct. |
![]() |
hwnd | Specifies the destination window for menu. |
![]() |
hwndParent | Specifies the parent of destination window. |
![]() |
pMenuEditorSite | Specifies the menu editor site. |
![]() |
psp | Specifies the IServiceProvider. |
![]() |
pszAccelList | Fixed list of acceptable accelerators. |
![]() |
pUndoMgr | Specifies the IOleUndoManager. |
![]() |
SiteId | Unique Id for identifying extra data in clipboard operations. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.