PercentFormatter Constructors

Definition

Overloads

PercentFormatter()

Creates a PercentFormatter object and initializes it to default values.

PercentFormatter(IIterable<String>, String)

Creates a PercentFormatter object initialized by a language list and a geographic region.

PercentFormatter()

Creates a PercentFormatter object and initializes it to default values.

public:
 PercentFormatter();
 PercentFormatter();
public PercentFormatter();
function PercentFormatter()
Public Sub New ()

See also

Applies to

PercentFormatter(IIterable<String>, String)

Creates a PercentFormatter object initialized by a language list and a geographic region.

public:
 PercentFormatter(IIterable<Platform::String ^> ^ languages, Platform::String ^ geographicRegion);
 PercentFormatter(IIterable<winrt::hstring> const& languages, winrt::hstring const& geographicRegion);
public PercentFormatter(IEnumerable<string> languages, string geographicRegion);
function PercentFormatter(languages, geographicRegion)
Public Sub New (languages As IEnumerable(Of String), geographicRegion As String)

Parameters

languages

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

The list of language identifiers, in priority order, representing the choice of languages. See Remarks.

geographicRegion
String

Platform::String

winrt::hstring

The identifier for the geographic region.

Remarks

If your app passes language tags used in this class to any National Language Support functions, it must first convert the tags by calling ResolveLocaleName.

Language tags support the Unicode extensions "ca-" and "nu-". (See Unicode Key/Type Definitions.) Note that these extensions can affect the numeral system used by PercentFormatter(IIterable(String), String) objects.

See also

Applies to