Share via


NSAttributedString.FromAttachment Method

Definition

Overloads

FromAttachment(NSTextAttachment)

[Foundation.Export("attributedStringWithAttachment:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSAttributedString FromAttachment(AppKit.NSTextAttachment attachment);
[<Foundation.Export("attributedStringWithAttachment:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromAttachment : AppKit.NSTextAttachment -> Foundation.NSAttributedString

Parameters

attachment
NSTextAttachment

Returns

Attributes

Applies to

FromAttachment(NSTextAttachment)

[Foundation.Export("attributedStringWithAttachment:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSAttributedString FromAttachment(UIKit.NSTextAttachment attachment);
[<Foundation.Export("attributedStringWithAttachment:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromAttachment : UIKit.NSTextAttachment -> Foundation.NSAttributedString

Parameters

attachment
NSTextAttachment

Returns

Attributes

Applies to

FromAttachment(NSTextAttachment, NSDictionary<NSString,NSObject>)

[Foundation.Export("attributedStringWithAttachment:attributes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSAttributedString FromAttachment(AppKit.NSTextAttachment attachment, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> attributes);
[<Foundation.Export("attributedStringWithAttachment:attributes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromAttachment : AppKit.NSTextAttachment * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> Foundation.NSAttributedString

Parameters

attachment
NSTextAttachment

Returns

Attributes

Applies to

FromAttachment(NSTextAttachment, NSDictionary<NSString,NSObject>)

[Foundation.Export("attributedStringWithAttachment:attributes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSAttributedString FromAttachment(UIKit.NSTextAttachment attachment, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> attributes);
[<Foundation.Export("attributedStringWithAttachment:attributes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromAttachment : UIKit.NSTextAttachment * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> Foundation.NSAttributedString

Parameters

attachment
NSTextAttachment

Returns

Attributes

Applies to