編集

次の方法で共有


NSFormatter.GetAttributedString Method

Definition

Overloads

GetAttributedString(NSObject, NSStringAttributes)
GetAttributedString(NSObject, NSDictionary<NSString,NSObject>)
GetAttributedString(NSObject, UIStringAttributes)

GetAttributedString(NSObject, NSStringAttributes)

public Foundation.NSAttributedString GetAttributedString (Foundation.NSObject obj, AppKit.NSStringAttributes defaultAttributes);
member this.GetAttributedString : Foundation.NSObject * AppKit.NSStringAttributes -> Foundation.NSAttributedString

Parameters

obj
NSObject
defaultAttributes
NSStringAttributes

Returns

Applies to

GetAttributedString(NSObject, NSDictionary<NSString,NSObject>)

[Foundation.Export("attributedStringForObjectValue:withDefaultAttributes:")]
public virtual Foundation.NSAttributedString GetAttributedString (Foundation.NSObject obj, Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> defaultAttributes);
abstract member GetAttributedString : Foundation.NSObject * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> Foundation.NSAttributedString
override this.GetAttributedString : Foundation.NSObject * Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> -> Foundation.NSAttributedString

Parameters

obj
NSObject
defaultAttributes
NSDictionary<NSString,NSObject>

Returns

Attributes

Applies to

GetAttributedString(NSObject, UIStringAttributes)

public Foundation.NSAttributedString GetAttributedString (Foundation.NSObject obj, UIKit.UIStringAttributes defaultAttributes);
member this.GetAttributedString : Foundation.NSObject * UIKit.UIStringAttributes -> Foundation.NSAttributedString

Parameters

obj
NSObject
defaultAttributes
UIStringAttributes

Returns

Applies to