TimeZoneSettings.CanChangeTimeZone 屬性

定義

取得是否可以變更時區。

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

屬性值

Boolean

bool

如果時區可以變更,則為 True;否則為 false。

Windows 需求

應用程式功能
systemManagement

備註

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

適用於