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