Share via


DateTimeFormatter.GeographicRegion Property

Definition

Gets or sets the region that is used when formatting dates and times.

public:
 property Platform::String ^ GeographicRegion { Platform::String ^ get(); };
winrt::hstring GeographicRegion();
public string GeographicRegion { get; }
var string = dateTimeFormatter.geographicRegion;
Public ReadOnly Property GeographicRegion As String

Property Value

String

Platform::String

winrt::hstring

The region that is used.

Applies to