共用方式為


NSAttributedString.FromAttachment 方法

定義

多載

FromAttachment(NSTextAttachment)
FromAttachment(NSTextAttachment)

FromAttachment(NSTextAttachment)

[Foundation.Export("attributedStringWithAttachment:")]
public static Foundation.NSAttributedString FromAttachment (AppKit.NSTextAttachment attachment);
static member FromAttachment : AppKit.NSTextAttachment -> Foundation.NSAttributedString

參數

attachment
NSTextAttachment

傳回

屬性

適用於

FromAttachment(NSTextAttachment)

[Foundation.Export("attributedStringWithAttachment:")]
public static Foundation.NSAttributedString FromAttachment (UIKit.NSTextAttachment attachment);
static member FromAttachment : UIKit.NSTextAttachment -> Foundation.NSAttributedString

參數

attachment
NSTextAttachment

傳回

屬性

適用於