Home Notices Documents Classes Download Others Rice
Classes  >  directory  >  LastAccessTime
directory class : LastAccessTime getter

Description

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

Syntax

directoryInstance.LastAccessTime

Arguments

None

Return value

ClassDescription
stringA date and time when the directory was last accessed.

Sample code

1:

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

2:

string lastAccessTime = dir.LastAccessTime;

Notes

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

Links for reference

Copyright © Rice All rights reserved.