Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MenuCommands Class

Defines a set of CommandID fields that each correspond to a command function provided by the host environment.

For a list of all members of this type, see MenuCommands Members.


[Visual Basic]
NotInheritable Public Class MenuCommands
   Inherits StandardCommands
public sealed class MenuCommands : StandardCommands
public __gc __sealed class MenuCommands : public StandardCommands
public class MenuCommands extends StandardCommands

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.


MenuCommands contains a set of CommandID fields that can be used to specify a command to link when adding a command using the AddCommand method of the IMenuCommandService.


Namespace: System.Windows.Forms.Design

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Design (in System.Design.dll)

See Also

MenuCommands Members | System.Windows.Forms.Design Namespace

© 2015 Microsoft