NSTextStorage 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSTextStorage()
NSTextStorage(NSAttributedString)
public NSTextStorage(Foundation.NSAttributedString other);
new AppKit.NSTextStorage : Foundation.NSAttributedString -> AppKit.NSTextStorage
参数
- other
- NSAttributedString
适用于
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