file class : LastAccessTime getter
Description
Gets a string that indicates the date and time when the file was last accessed.
Syntax
fileInstance.LastAccessTime
Arguments
None
Return value
Class | Description |
string | The date and time when the file was last accessed. |
Sample code
1: | file f = new file("c:\somewhere..."); |
2: | string lastAccessTime = f.LastAccessTime; |
Notes
It's a wrapper of the System.IO.FileInfo.LastAccessTime property.