共用方式為


NSTextAttachment 建構函式

定義

多載

NSTextAttachment()
NSTextAttachment(NSCoder)
NSTextAttachment(NSFileWrapper)
NSTextAttachment(NSObjectFlag)
NSTextAttachment(IntPtr)
NSTextAttachment(NSData, String)

NSTextAttachment()

[Foundation.Export("init")]
public 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
屬性

適用於