NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

File.LastWriteTime

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;

Property Value

Read-only. The time the current file was last written.

Exceptions

Exception Type Condition
IOException Refresh cannot initialize the data.

Remarks

This property value is a null reference (in Visual Basic Nothing) if the file system containing the file does not support this information.

See Also

File Class | File Members | System.IO Namespace