Menu.CreateMenuHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
IntPtr
nativeint
A handle to the menu if the method succeeds; otherwise, null
.