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)

public struct MEINIT

The MEINIT type exposes the following members.

  NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top

  NameDescription
Public fieldcchNameLimitDWORD containing the maximum number of characters in the name.
Public fieldcchTextLimitDWORD Specifying the maximum numbers of characters in menu item captions.
Public fielddwFlagsDWORD specifying flags for support/no support of certain properties. Values are taken from the __VSMEINIT enumeration.
Public fielddwSizeOfStructDWORD specifying the size of the struct.
Public fieldhwndSpecifies the destination window for menu.
Public fieldhwndParentSpecifies the parent of destination window.
Public fieldpMenuEditorSiteSpecifies the menu editor site.
Public fieldpspSpecifies the IServiceProvider.
Public fieldpszAccelListFixed list of acceptable accelerators.
Public fieldpUndoMgrSpecifies the IOleUndoManager.
Public fieldSiteIdUnique Id for identifying extra data in clipboard operations.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft