Edit

Share via


NSMenu Constructors

Definition

Overloads

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

NSMenu()

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

Applies to

NSMenu(NSCoder)

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

Parameters

coder
NSCoder
Attributes

Applies to

NSMenu(NSObjectFlag)

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

Parameters

Applies to

NSMenu(IntPtr)

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

Parameters

handle
IntPtr

nativeint

Applies to

NSMenu(String)

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

Parameters

aTitle
String
Attributes

Applies to