Bewerken

Delen via


TimeProvider.System Property

Definition

Gets a TimeProvider that provides a clock based on UtcNow, a time zone based on Local, a high-performance time stamp based on Stopwatch, and a timer based on Timer.

public:
 static property TimeProvider ^ System { TimeProvider ^ get(); };
public static TimeProvider System { get; }
static member System : TimeProvider
Public Shared ReadOnly Property System As TimeProvider

Property Value

Remarks

If the Local changes after the object is returned, the change will be reflected in any subsequent operations that retrieve GetLocalNow().

Applies to