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
public virtual CommandID CommandID {get;}
public: __property virtual CommandID* get_CommandID();
public function get CommandID() : CommandID;

Property Value

The CommandID associated with the menu command.


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