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

Description

Gets the string that indicates the date and time when the file was last written to.

Syntax

fileInstance.LastWriteTime

Arguments

None

Return value

ClassDescription
stringThe date and time when the file was last written to.

Sample code

//anyFile is a instance of file type.

string lastWriteTime = anyFile.LastAccessTime;

Notes

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

Links for reference

Copyright © Rice All rights reserved.