Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CommandID Class
Collapse the table of content
Expand the table of content

CommandID Class

Represents a unique command identifier that consists of a numeric command ID and a GUID menu group identifier.

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

System.Object
   System.ComponentModel.Design.CommandID

[Visual Basic]
<ComVisible(True)>
Public Class CommandID
[C#]
[ComVisible(true)]
public class CommandID
[C++]
[ComVisible(true)]
public __gc class CommandID
[JScript]
public
   ComVisible(true)
class CommandID

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

A CommandID uniquely identifies a command. A unique command identification system prevents conflicts between command identifiers. Command IDs consist of a menu group GUID and a numeric command identifier.

Requirements

Namespace: System.ComponentModel.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 (in System.dll)

See Also

CommandID Members | System.ComponentModel.Design Namespace | IMenuCommandService | MenuCommand

Show:
© 2015 Microsoft