FileChangeMonitor.LastModified Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates the last time that a file that is being monitored was changed.
public:
abstract property DateTimeOffset LastModified { DateTimeOffset get(); };
public abstract DateTimeOffset LastModified { get; }
member this.LastModified : DateTimeOffset
Public MustOverride ReadOnly Property LastModified As DateTimeOffset
Property Value
If multiple files are monitored, the last modified time of the most recently modified file; otherwise, the last time that the file that is being monitored was changed.
Remarks
The value of the LastModified property is typically calculated during the initialization phase of a derived class.
To provide custom file change monitoring, you must override this method in a derived class.