Breyta

Deila með


FileChangeMonitor.LastModified Property

Definition

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.

Applies to