NSTextView 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSTextView() | |
NSTextView(CGRect) | |
NSTextView(NSCoder) | |
NSTextView(NSObjectFlag) | |
NSTextView(IntPtr) | |
NSTextView(CGRect, NSTextContainer) |
NSTextView()
NSTextView(CGRect)
[Foundation.Export("initWithFrame:")]
public NSTextView (CoreGraphics.CGRect frameRect);
new AppKit.NSTextView : CoreGraphics.CGRect -> AppKit.NSTextView
參數
- frameRect
- CGRect
- 屬性
適用於
NSTextView(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSTextView (Foundation.NSCoder coder);
new AppKit.NSTextView : Foundation.NSCoder -> AppKit.NSTextView
參數
- coder
- NSCoder
- 屬性
適用於
NSTextView(NSObjectFlag)
protected NSTextView (Foundation.NSObjectFlag t);
new AppKit.NSTextView : Foundation.NSObjectFlag -> AppKit.NSTextView
參數
適用於
NSTextView(IntPtr)
protected internal NSTextView (IntPtr handle);
new AppKit.NSTextView : nativeint -> AppKit.NSTextView
參數
- handle
-
IntPtr
nativeint
適用於
NSTextView(CGRect, NSTextContainer)
[Foundation.Export("initWithFrame:textContainer:")]
[ObjCRuntime.DesignatedInitializer]
public NSTextView (CoreGraphics.CGRect frameRect, AppKit.NSTextContainer container);
new AppKit.NSTextView : CoreGraphics.CGRect * AppKit.NSTextContainer -> AppKit.NSTextView
參數
- frameRect
- CGRect
- container
- NSTextContainer
- 屬性