TimeCreated Property

EventRecord.TimeCreated Property

 

Gets the time, in DateTime format, that the event was created.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public abstract Nullable<DateTime> TimeCreated { get; }

Property Value

Type: System.Nullable<DateTime>

Returns a DateTime value. The value can be null.

.NET Framework
Available since 3.5

EventRecord Class
System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

Return to top
Show:
© 2016 Microsoft