Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CommandID Property

MenuCommand.CommandID Property

Gets the CommandID associated with this menu command.

[Visual Basic]
Public Overridable ReadOnly Property CommandID As CommandID
[C#]
public virtual CommandID CommandID {get;}
[C++]
public: __property virtual CommandID* get_CommandID();
[JScript]
public function get CommandID() : CommandID;

Property Value

The CommandID associated with the menu command.

Requirements

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

See Also

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

Show:
© 2015 Microsoft