Home Notices Documents Classes Download Others Rice
Classes  >  file  >  LastWriteTime
file class : LastWriteTime getter

Description

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

1:

file f = new file("c:\somewhere...");

2:

string lastWriteTime = f.LastAccessTime;

Notes

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

Links for reference

Copyright © Rice All rights reserved.