Compartir a través de


DateTimeSettings Clase

Definición

Establece la fecha y hora del sistema.

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
Herencia
Object Platform::Object IInspectable DateTimeSettings
Atributos

Requisitos de Windows

Familia de dispositivos
Windows IoT Extension SDK (se introdujo en la versión 10.0.16299.0)
API contract
Windows.System.SystemManagementContract (se introdujo en la versión v4.0)

Métodos

SetSystemDateTime(DateTime)

Establezca la fecha y hora del sistema.

Se aplica a