NSMenu Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
NSMenu() | |
NSMenu(NSCoder) | |
NSMenu(NSObjectFlag) | |
NSMenu(IntPtr) | |
NSMenu(String) |
NSMenu()
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