MenuItem.MenuID 属性

定义

获取一个值,通过该值指示此菜单项的 Windows 标识符。Gets a value indicating the Windows identifier for this menu item.

protected:
 property int MenuID { int get(); };
protected int MenuID { get; }
member this.MenuID : int
Protected ReadOnly Property MenuID As Integer

属性值

此菜单项的 Windows 标识符。The Windows identifier for this menu item.

适用于