NSPersonNameComponentsFormatter.GetLocalizedString Method

Definition

Returns a formatted and localized string that represents components.

[Foundation.Export("localizedStringFromPersonNameComponents:style:options:")]
public static string GetLocalizedString (Foundation.NSPersonNameComponents components, Foundation.NSPersonNameComponentsFormatterStyle nameFormatStyle, Foundation.NSPersonNameComponentsFormatterOptions nameOptions);
static member GetLocalizedString : Foundation.NSPersonNameComponents * Foundation.NSPersonNameComponentsFormatterStyle * Foundation.NSPersonNameComponentsFormatterOptions -> string

Parameters

components
NSPersonNameComponents

The components to format.

nameFormatStyle
NSPersonNameComponentsFormatterStyle

The format style to use.

nameOptions
NSPersonNameComponentsFormatterOptions

The formatting options to use.

Returns

A formatted and localized string that represents components.

Attributes

Applies to