TimeZoneSettings.SupportedTimeZoneDisplayNames 屬性

定義

取得所有支援時區的顯示名稱。

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)

屬性值

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

所有支援時區的顯示名稱。

Windows 需求

應用程式功能
systemManagement

備註

此 API 需要使用 IoT systemManagement功能,以及在IgnorableNamespaces清單中包含iot。 使用者可以將下列內容新增至其 Package.appmanifest <iot:Capability Name="systemManagement"/> ,並將 iot 新增至其現有的 IgnorableNamespaces清單。

適用於