EventLogEntry.TimeWritten Property

Definition

Gets the local time at which this event was written to the log.

public:
 property DateTime TimeWritten { DateTime get(); };
public DateTime TimeWritten { get; }
member this.TimeWritten : DateTime
Public ReadOnly Property TimeWritten As DateTime

Property Value

The local time at which this event was written to the log.

Remarks

This member holds the time that an event's information is written to the event log. This might not be the same time as when the event was generated. For the latter, read the TimeGenerated property.

Applies to

See also