Share via


NumeralSystemTranslator Constructors

Definition

Overloads

NumeralSystemTranslator()

Creates a NumeralSystemTranslator object initialized by the list of current runtime language values preferred by the user.

NumeralSystemTranslator(IIterable<String>)

Creates a NumeralSystemTranslator object initialized by a language list.

NumeralSystemTranslator()

Creates a NumeralSystemTranslator object initialized by the list of current runtime language values preferred by the user.

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

Remarks

This default constructor is equivalent to the use of NumeralSystemTranslator (Windows.Globalization.ApplicationLanguages.languages).

See also

Applies to

NumeralSystemTranslator(IIterable<String>)

Creates a NumeralSystemTranslator object initialized by a language list.

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

Parameters

languages

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

A list of BCP-47 language tags, in priority order, representing the choice of languages. They must all be well-formed according to Windows.Globalization.Language.isWellFormed.

Remarks

This constructor creates an object initialized to use the default numeral system of the first language in languages which is known to the system. If none are known, it uses the current runtime language preferred by the user.

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.

See also

Applies to