TimeZoneSettings.CurrentTimeZoneDisplayName 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 name of the current time zone.
public:
static property Platform::String ^ CurrentTimeZoneDisplayName { Platform::String ^ get(); };
static winrt::hstring CurrentTimeZoneDisplayName();
public static string CurrentTimeZoneDisplayName { get; }
var string = TimeZoneSettings.currentTimeZoneDisplayName;
Public Shared ReadOnly Property CurrentTimeZoneDisplayName As String
Property Value
The display name of the current time zone.
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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro