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.LastAccessTime

Contains the time the current file or directory was last accessed.

[Visual Basic]
Overridable Public ReadOnly Property LastAccessTime As DateTime
[C#]
public DateTime LastAccessTime {override get;}
[C++]
public: __property virtual DateTime get_LastAccessTime();
[JScript]
public function get LastAccessTime() : DateTime;

Property Value

The time that the current file or directory was last accessed. This value is read-only.

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