This documentation is archived and is not being maintained.

EventLogEntry.TimeWritten Property

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

[Visual Basic]
Public ReadOnly Property TimeWritten As DateTime
[C#]
public DateTime TimeWritten {get;}
[C++]
public: __property DateTime get_TimeWritten();
[JScript]
public function get TimeWritten() : DateTime;

Property Value

A DateTime that represents 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.

Requirements

Platforms: Windows NT Server 4.0, Windows NT Workstation 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace | TimeGenerated

Show: