System::IO::File::SetLastWriteTime method

File::SetLastWriteTime method

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

static void System::IO::File::SetLastWriteTime(const String &path, DateTime lastWriteTime)
ParameterTypeDescription
pathconst String&The entity whose last write time to set
lastWriteTimeDateTimeA DateTime object representing the time to set as local time

See Also