共用方式為


NSView 建構函式

定義

多載

NSView()
NSView(CGRect)
NSView(NSCoder)
NSView(NSObjectFlag)
NSView(IntPtr)

NSView()

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

適用於

NSView(CGRect)

[Foundation.Export("initWithFrame:")]
[ObjCRuntime.DesignatedInitializer]
public NSView (CoreGraphics.CGRect frameRect);
new AppKit.NSView : CoreGraphics.CGRect -> AppKit.NSView

參數

frameRect
CGRect
屬性

適用於

NSView(NSCoder)

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

參數

coder
NSCoder
屬性

適用於

NSView(NSObjectFlag)

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

參數

適用於

NSView(IntPtr)

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

參數

handle
IntPtr

nativeint

適用於