Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventLogEntry::TimeWritten Property

 

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

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public:
property DateTime TimeWritten {
	DateTime get();
}

Property Value

Type: System::DateTime

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

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft