This documentation is archived and is not being maintained.

MenuItem.MenuID Property

Gets a value indicating the Windows identifier for this menu item.

[Visual Basic]
Protected ReadOnly Property MenuID As Integer
[C#]
protected int MenuID {get;}
[C++]
protected: __property int get_MenuID();
[JScript]
protected function get MenuID() : int;

Property Value

The Windows identifier for this menu item.

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

MenuItem Class | MenuItem Members | System.Windows.Forms Namespace

Show: