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
傳回
- 屬性