DateTimeSettings クラス

定義

システムの日付と時刻を設定します。

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
継承
Object Platform::Object IInspectable DateTimeSettings
属性

Windows の要件

デバイス ファミリ
Windows IoT Extension SDK (10.0.16299.0 で導入)
API contract
Windows.System.SystemManagementContract (v4.0 で導入)

メソッド

SetSystemDateTime(DateTime)

システムの日付と時刻を設定します。

適用対象