共用方式為


NSMenu.SetSubmenu(NSMenu, NSMenuItem) 方法

定義

[Foundation.Export("setSubmenu:forItem:")]
public virtual void SetSubmenu (AppKit.NSMenu aMenu, AppKit.NSMenuItem anItem);
abstract member SetSubmenu : AppKit.NSMenu * AppKit.NSMenuItem -> unit
override this.SetSubmenu : AppKit.NSMenu * AppKit.NSMenuItem -> unit

參數

aMenu
NSMenu
anItem
NSMenuItem
屬性

適用於