Menu.CreateMenuHandle Method
Definition
Creates a new handle to the Menu.
protected:
virtual IntPtr CreateMenuHandle();
protected virtual IntPtr CreateMenuHandle ();
abstract member CreateMenuHandle : unit -> nativeint
override this.CreateMenuHandle : unit -> nativeint
Protected Overridable Function CreateMenuHandle () As IntPtr
Returns
A handle to the menu if the method succeeds; otherwise, null
.
Security
SecurityPermission
for operating with unmanaged code. Associated enumeration: UnmanagedCode