HostFileChangeMonitor.LastModified 属性
定义
获取一个只读值,该值指示所监视文件或路径的上次写入时间。Gets a read-only value that indicates the last write time of a monitored file or path.
public:
virtual property DateTimeOffset LastModified { DateTimeOffset get(); };
public override DateTimeOffset LastModified { get; }
member this.LastModified : DateTimeOffset
Public Overrides ReadOnly Property LastModified As DateTimeOffset
属性值
所监视文件或路径的上次写入时间。The last write time of a monitored file or path.
注解
如果文件更改监视器监视多个文件或路径,则此属性将返回所有文件和路径集中的最近写入时间。If a file-change monitor is monitoring multiple files or paths, this property returns the most recent write time in the set of all files and paths.