NSAttributedString.GetDataFromRange 方法

定义

重载

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

返回

属性

适用于