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

ClassDescription
stringThe 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.

Links for reference

Copyright © Cooker All rights reserved.