NSViewController 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSViewController() | |
NSViewController(NSCoder) | |
NSViewController(NSObjectFlag) | |
NSViewController(IntPtr) | |
NSViewController(String, NSBundle) |
NSViewController()
NSViewController(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSViewController (Foundation.NSCoder coder);
new AppKit.NSViewController : Foundation.NSCoder -> AppKit.NSViewController
参数
- coder
- NSCoder
- 属性
适用于
NSViewController(NSObjectFlag)
protected NSViewController (Foundation.NSObjectFlag t);
new AppKit.NSViewController : Foundation.NSObjectFlag -> AppKit.NSViewController
参数
适用于
NSViewController(IntPtr)
protected internal NSViewController (IntPtr handle);
new AppKit.NSViewController : nativeint -> AppKit.NSViewController
参数
- handle
-
IntPtr
nativeint
适用于
NSViewController(String, NSBundle)
[Foundation.Export("initWithNibName:bundle:")]
[ObjCRuntime.DesignatedInitializer]
public NSViewController (string nibNameOrNull, Foundation.NSBundle nibBundleOrNull);
new AppKit.NSViewController : string * Foundation.NSBundle -> AppKit.NSViewController
参数
- nibNameOrNull
- String
- nibBundleOrNull
- NSBundle
- 属性