共用方式為


NSMenu 建構函式

定義

多載

NSMenu()
NSMenu(NSCoder)
NSMenu(NSObjectFlag)
NSMenu(IntPtr)
NSMenu(String)

NSMenu()

[Foundation.Export("init")]
public NSMenu ();
屬性

適用於

NSMenu(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSMenu (Foundation.NSCoder coder);
new AppKit.NSMenu : Foundation.NSCoder -> AppKit.NSMenu

參數

coder
NSCoder
屬性

適用於

NSMenu(NSObjectFlag)

protected NSMenu (Foundation.NSObjectFlag t);
new AppKit.NSMenu : Foundation.NSObjectFlag -> AppKit.NSMenu

參數

適用於

NSMenu(IntPtr)

protected internal NSMenu (IntPtr handle);
new AppKit.NSMenu : nativeint -> AppKit.NSMenu

參數

handle
IntPtr

nativeint

適用於

NSMenu(String)

[Foundation.Export("initWithTitle:")]
[ObjCRuntime.DesignatedInitializer]
public NSMenu (string aTitle);
new AppKit.NSMenu : string -> AppKit.NSMenu

參數

aTitle
String
屬性

適用於