Freigeben über


DateTimeSettings Klasse

Definition

Legt das Systemdatum und die Systemzeit fest.

public ref class DateTimeSettings abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.SystemManagementContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DateTimeSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class DateTimeSettings
Public Class DateTimeSettings
Vererbung
Object Platform::Object IInspectable DateTimeSettings
Attribute

Windows-Anforderungen

Gerätefamilie
Windows IoT Extension SDK (eingeführt in 10.0.16299.0)
API contract
Windows.System.SystemManagementContract (eingeführt in v4.0)

Methoden

SetSystemDateTime(DateTime)

Legen Sie das Systemdatum und die Systemzeit fest.

Gilt für: