NSTextAttachment 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSTextAttachment() | |
NSTextAttachment(NSCoder) | |
NSTextAttachment(NSFileWrapper) | |
NSTextAttachment(NSObjectFlag) | |
NSTextAttachment(IntPtr) | |
NSTextAttachment(NSData, String) |
NSTextAttachment()
NSTextAttachment(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSTextAttachment (Foundation.NSCoder coder);
new AppKit.NSTextAttachment : Foundation.NSCoder -> AppKit.NSTextAttachment
參數
- coder
- NSCoder
- 屬性
適用於
NSTextAttachment(NSFileWrapper)
[Foundation.Export("initWithFileWrapper:")]
public NSTextAttachment (Foundation.NSFileWrapper fileWrapper);
new AppKit.NSTextAttachment : Foundation.NSFileWrapper -> AppKit.NSTextAttachment
參數
- fileWrapper
- NSFileWrapper
- 屬性
適用於
NSTextAttachment(NSObjectFlag)
protected NSTextAttachment (Foundation.NSObjectFlag t);
new AppKit.NSTextAttachment : Foundation.NSObjectFlag -> AppKit.NSTextAttachment
參數
適用於
NSTextAttachment(IntPtr)
protected internal NSTextAttachment (IntPtr handle);
new AppKit.NSTextAttachment : nativeint -> AppKit.NSTextAttachment
參數
- handle
-
IntPtr
nativeint
適用於
NSTextAttachment(NSData, String)
[Foundation.Export("initWithData:ofType:")]
[ObjCRuntime.DesignatedInitializer]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public NSTextAttachment (Foundation.NSData contentData, string uti);
new AppKit.NSTextAttachment : Foundation.NSData * string -> AppKit.NSTextAttachment
參數
- contentData
- NSData
- uti
- String
- 屬性