[This is preliminary documentation and is subject to change.]

Gets or sets the timestamp of the logging event.

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 2.0.0.0

Syntax

C#
public DateTime TimeStamp { get; set; }
Visual Basic (Declaration)
Public Property TimeStamp As DateTime
Visual C++
public:
property DateTime TimeStamp {
	DateTime get ();
	void set (DateTime value);
}

See Also