TimeZoneSettings.CanChangeTimeZone 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 whether the time zone can be changed.
public:
static property bool CanChangeTimeZone { bool get(); };
static bool CanChangeTimeZone();
public static bool CanChangeTimeZone { get; }
var boolean = TimeZoneSettings.canChangeTimeZone;
Public Shared ReadOnly Property CanChangeTimeZone As Boolean
Property Value
bool
True if the time zone can be changed; otherwise, false.
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.