Partilhar via


RollingFlatFileSink.DateTimeProvider.CurrentDateTime Property

Applies to: Semantic Logging 2.0

Gets the current data time.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile.dll) Version: 2.0.1406.1

Syntax

public virtual DateTime CurrentDateTime { get; }
'Declaration
Public Overridable ReadOnly Property CurrentDateTime As DateTime
    Get

Property Value

Type: DateTime
The current data time.

See Also

RollingFlatFileSink.DateTimeProvider Class

RollingFlatFileSink.DateTimeProvider Members

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace