NSTextStorage 构造函数

定义

重载

NSTextStorage()
NSTextStorage(NSAttributedString)
NSTextStorage(NSCoder)
NSTextStorage(NSObjectFlag)
NSTextStorage(IntPtr)
NSTextStorage(String)
NSTextStorage(String, CTStringAttributes)
NSTextStorage(String, NSDictionary)

NSTextStorage()

[Foundation.Export("init")]
public NSTextStorage();
属性

适用于

NSTextStorage(NSAttributedString)

public NSTextStorage(Foundation.NSAttributedString other);
new AppKit.NSTextStorage : Foundation.NSAttributedString -> AppKit.NSTextStorage

参数

适用于

NSTextStorage(NSCoder)

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

参数

coder
NSCoder
属性

适用于

NSTextStorage(NSObjectFlag)

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

参数

适用于

NSTextStorage(IntPtr)

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

参数

handle
IntPtr

nativeint

适用于

NSTextStorage(String)

[Foundation.Export("initWithString:")]
public NSTextStorage(string str);
new AppKit.NSTextStorage : string -> AppKit.NSTextStorage

参数

str
String
属性

适用于

NSTextStorage(String, CTStringAttributes)

public NSTextStorage(string str, CoreText.CTStringAttributes attributes);
new AppKit.NSTextStorage : string * CoreText.CTStringAttributes -> AppKit.NSTextStorage

参数

str
String
attributes
CTStringAttributes

适用于

NSTextStorage(String, NSDictionary)

public NSTextStorage(string str, Foundation.NSDictionary attributes);
new AppKit.NSTextStorage : string * Foundation.NSDictionary -> AppKit.NSTextStorage

参数

str
String
attributes
NSDictionary

适用于