NSAttributedString.GetDataFromRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetDataFromRange(NSRange, NSAttributedStringDocumentAttributes, NSError) | |
GetDataFromRange(NSRange, NSDictionary, NSError) |
d|要添加。 |
GetDataFromRange(NSRange, NSAttributedStringDocumentAttributes, NSError)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public Foundation.NSData GetDataFromRange (Foundation.NSRange range, Foundation.NSAttributedStringDocumentAttributes documentAttributes, ref Foundation.NSError error);
member this.GetDataFromRange : Foundation.NSRange * Foundation.NSAttributedStringDocumentAttributes * -> Foundation.NSData
参数
- range
- NSRange
- documentAttributes
- NSAttributedStringDocumentAttributes
- error
- NSError
返回
- 属性
适用于
GetDataFromRange(NSRange, NSDictionary, NSError)
d|要添加。
[Foundation.Export("dataFromRange:documentAttributes:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSData GetDataFromRange (Foundation.NSRange range, Foundation.NSDictionary attributes, ref Foundation.NSError error);
abstract member GetDataFromRange : Foundation.NSRange * Foundation.NSDictionary * -> Foundation.NSData
override this.GetDataFromRange : Foundation.NSRange * Foundation.NSDictionary * -> Foundation.NSData
参数
- range
- NSRange
- attributes
- NSDictionary
- error
- NSError
返回
- 属性