This documentation is archived and is not being maintained.

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: