IFile.

SetLastAccessTime(DateTime) Method

Summary

Sets the date and time that the specified file or directory was last accessed.
Namespace
Cake.Core.IO
Containing Type
IFile

Syntax

IFile SetLastAccessTime(DateTime lastAccessTime)

Parameters

Name Type Description
lastAccessTime DateTime A DateTime containing the value to set for the last access date and time of path. This value is expressed in local time.

Return Value

Type Description
IFile A IFile instance representing the specified path.