Menu.Handle Menu.Handle Menu.Handle Menu.Handle Property

定义

获取表示菜单的窗口句柄的值。Gets a value representing the window handle for the menu.

public:
 property IntPtr Handle { IntPtr get(); };
[System.ComponentModel.Browsable(false)]
public IntPtr Handle { get; }
member this.Handle : nativeint
Public ReadOnly Property Handle As IntPtr

属性值

菜单的 HMENU 值。The HMENU value 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.

适用于