Returns the time when the current file or directory was last written to.
[Visual Basic] Overridable Public ReadOnly Property LastWriteTime As DateTime [C#] public DateTime LastWriteTime {override get;} [C++] public: __property virtual DateTime get_LastWriteTime(); [JScript] public function get LastWriteTime() : DateTime;
Read-only. The time the current file was last written.
Exception Type | Condition |
---|---|
IOException | Refresh cannot initialize the data. |
This property value is a null reference (in Visual Basic Nothing) if the file system containing the file does not support this information.