Share via


RollingFlatFileTraceListener.DateTimeProvider.CurrentDateTime Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets the current data time.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property CurrentDateTime As DateTime
public virtual DateTime CurrentDateTime { get; }
public:
virtual property DateTime CurrentDateTime {
    DateTime get ();
}
public function get CurrentDateTime () : DateTime

Field Value

The current data time.

See Also

RollingFlatFileTraceListener.DateTimeProvider Class

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners Namespace