Partager via


ConfigurationChangeFileWatcher.GetCurrentLastWriteTime Method

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.

Returns the DateTime of the last change of the information watched

The information is retrieved using the watched file modification timestamp

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Storage
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
ProtectedOverridesFunctionGetCurrentLastWriteTimeAs DateTime
protectedoverride DateTime GetCurrentLastWriteTime()
protected:
virtual DateTime GetCurrentLastWriteTime() override
protectedoverridefunctionGetCurrentLastWriteTime() : DateTime

Return Value

The DateTime of the last modificaiton, or

DateTime.MinValue

if the information can't be retrieved

See Also

ConfigurationChangeFileWatcher Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Storage Namespace

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.