DateTimeFormatter.NumeralSystem Property

Definition

Gets or sets the numbering system that is used to format dates and times.

public:
 property Platform::String ^ NumeralSystem { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring NumeralSystem();

void NumeralSystem(winrt::hstring value);
public string NumeralSystem { get; set; }
var string = dateTimeFormatter.numeralSystem;
dateTimeFormatter.numeralSystem = string;
Public Property NumeralSystem As String

Property Value

String

Platform::String

winrt::hstring

A string that indicates the numeral system of the formatter, such as "Latn" for the Latin numeral system (0123456789) or "Arab" for the Arabic-Indic numeral system (٠١٢٣٤٥ ٦٧٨٩).

Applies to