Delen via


TimeZoneSettings.SupportedTimeZoneDisplayNames Property

Definition

Gets the display names for all supported time zones.

public:
 static property IVectorView<Platform::String ^> ^ SupportedTimeZoneDisplayNames { IVectorView<Platform::String ^> ^ get(); };
static IVectorView<winrt::hstring> SupportedTimeZoneDisplayNames();
public static IReadOnlyList<string> SupportedTimeZoneDisplayNames { get; }
var iVectorView = TimeZoneSettings.supportedTimeZoneDisplayNames;
Public Shared ReadOnly Property SupportedTimeZoneDisplayNames As IReadOnlyList(Of String)

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

The display names for all supported time zones.

Windows requirements

App capabilities
systemManagement

Remarks

This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list. Users can add the following to their Package.appmanifest: <iot:Capability Name="systemManagement"/>, and add iot to their existing list of IgnorableNamespaces.

Applies to