Home Cooker Classes Others Rice CookerGX
Classes  >  file  >  LastAccessTime
file class : LastAccessTime getter

Description

Gets the 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

//anyFile is a instance of file type.

string lastAccessTime = anyFile.LastAccessTime;

Notes

It's a wrapper of the System.IO.FileInfo.LastAccessTime.

Links for reference

Copyright © Rice All rights reserved.