NumeralSystemTranslator NumeralSystemTranslator NumeralSystemTranslator NumeralSystemTranslator NumeralSystemTranslator Class

Definition

Translates digits of the Latin numerical system into digits of another numerical system.

public : sealed class NumeralSystemTranslator : INumeralSystemTranslator
struct winrt::Windows::Globalization::NumberFormatting::NumeralSystemTranslator : INumeralSystemTranslator
public sealed class NumeralSystemTranslator : INumeralSystemTranslator
Public NotInheritable Class NumeralSystemTranslator Implements INumeralSystemTranslator
var numeralSystemTranslator = new numeralSystemTranslator();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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.

Constructors

NumeralSystemTranslator() NumeralSystemTranslator() NumeralSystemTranslator() NumeralSystemTranslator() NumeralSystemTranslator()

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

NumeralSystemTranslator(IIterable<String>) NumeralSystemTranslator(IIterable<String>) NumeralSystemTranslator(IIterable<String>) NumeralSystemTranslator(IIterable<String>) NumeralSystemTranslator(IIterable<String>)

Creates a NumeralSystemTranslator object initialized by a language list.

Properties

Languages Languages Languages Languages Languages

Gets the BCP-47 language tag(s) used to initialize this NumeralSystemTranslator object.

NumeralSystem NumeralSystem NumeralSystem NumeralSystem NumeralSystem

Gets or sets the numeral system that Latin digits will be converted to on calls to TranslateNumerals.

ResolvedLanguage ResolvedLanguage ResolvedLanguage ResolvedLanguage ResolvedLanguage

Gets the language used to determine the numeral system when this object was initialized.

Methods

TranslateNumerals(String) TranslateNumerals(String) TranslateNumerals(String) TranslateNumerals(String) TranslateNumerals(String)

Converts a string of characters containing Latin digits to a string containing the corresponding digits of NumeralSystem.

See Also