Skip to main content
NumeralSystemTranslator.NumeralSystemTranslator(IIterable(String)) constructor

Creates a NumeralSystemTranslator object initialized by a language list.

Syntax


var numeralSystemTranslator = new Windows.Globalization.NumberFormatting.NumeralSystemTranslator(languages);

public NumeralSystemTranslator(
  IEnumerable<string> languages
)

Public Sub New (
  languages As IEnumerable(Of String) 
)

public:
NumeralSystemTranslator(
  IIterable<String^>^ languages
)

Parameters

languages

Type: IIterable<String> [JavaScript/C++] | System.Collections.Generic.IEnumerable<String> [.NET]

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.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization.NumberFormatting
Windows::Globalization::NumberFormatting [C++]

Metadata

Windows.winmd

See also

NumeralSystemTranslator
NumeralSystemTranslator()
BCP-47 language tags