System::IO::Directory::SetLastAccessTime method

Directory::SetLastAccessTime method

Sets the last access time of the specified entity as local time.

static void System::IO::Directory::SetLastAccessTime(const String &path, DateTime date)
ParameterTypeDescription
pathconst String&The entity whose last access time to set
dateDateTimeA DateTime object representing the time to set as local time

See Also