TimeZoneSettings.SupportedTimeZoneDisplayNames Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.