This documentation is archived and is not being maintained.

Menu.Handle Property

Gets a value representing the window handle for the menu.

[Visual Basic]
Public ReadOnly Property Handle As IntPtr
public IntPtr Handle {get;}
public: __property IntPtr get_Handle();
public function get Handle() : IntPtr;

Property Value

The window handle of the menu.


You can use this property to obtain the handle to the menu to perform special operations to the menu outside of the functionality provided by this class or its derived classes.


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

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