TimeZoneSettings.CanChangeTimeZone Property

Definition

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

Boolean

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.

Applies to