Partilhar via


ConfigurationChangeWatcher.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

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

Syntax

'Declaration
ProtectedMustOverrideFunctionGetCurrentLastWriteTimeAs DateTime
protectedabstract DateTime GetCurrentLastWriteTime()
protected:
virtual DateTime GetCurrentLastWriteTime() abstract
protectedabstractfunctionGetCurrentLastWriteTime() : DateTime

Return Value

The DateTime of the last modificaiton, or

DateTime.MinValue

if the information can't be retrieved

See Also

ConfigurationChangeWatcher 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.