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.

System.Object
   System.ComponentModel.Design.StandardCommands
      System.Windows.Forms.Design.MenuCommands

[Visual Basic]
NotInheritable Public Class MenuCommands
   Inherits StandardCommands
[C#]
public sealed class MenuCommands : StandardCommands
[C++]
public __gc __sealed class MenuCommands : public StandardCommands
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft