directory class : LastWriteTime getter

Description

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

Syntax

directoryInstance.LastWriteTime

Arguments

None

Return value

ClassDescription
stringA date and time when the directory was last written to.

Sample code

1:

directory dir = new directory("c:\somewhere...");

2:

string lastWriteTime = dir.LastAccessTime;

Notes

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

Links for reference

Copyright © Cooker All rights reserved.