次の方法で共有


ProjectRootElement.LastWriteTimeWhenRead Property

Definition

The last-write-time of the file that was read, when it was read. This can be used to see whether the file has been changed on disk by an external means.

public:
 property DateTime LastWriteTimeWhenRead { DateTime get(); };
public DateTime LastWriteTimeWhenRead { get; }
public DateTime LastWriteTimeWhenRead { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.LastWriteTimeWhenRead : DateTime
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.LastWriteTimeWhenRead : DateTime
Public ReadOnly Property LastWriteTimeWhenRead As DateTime

Property Value

The last-write-time of the project file.

Attributes

Remarks

This property can be used to determine whether a file has been changed on disk by a process other than the MSBuild process.

Applies to