System.Diagnostics.TraceEventCache.DateTime Property

Gets the date and time at which the event trace occurred.

Syntax

public DateTime DateTime { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The first time the property is accessed in an instance of the System.Diagnostics.TraceEventCache class, the current time is returned. Subsequent queries of this property in that instance return that same DateTime value, allowing it to be used as a timestamp.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0