編輯

共用方式為


CNContactFormatter.GetAttributedStringFrom Method

Definition

Returns an attributed string for the CNContact based on the style and attributes.

[Foundation.Export("attributedStringFromContact:style:defaultAttributes:")]
public static Foundation.NSAttributedString GetAttributedStringFrom (Contacts.CNContact contact, Contacts.CNContactFormatterStyle style, Foundation.NSDictionary attributes);
static member GetAttributedStringFrom : Contacts.CNContact * Contacts.CNContactFormatterStyle * Foundation.NSDictionary -> Foundation.NSAttributedString

Parameters

contact
CNContact
attributes
NSDictionary

To be added.

This parameter can be null.

Returns

Attributes

Applies to