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
- 屬性