共用方式為


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

傳回

屬性

適用於