System::IO::File::SetLastWriteTimeUtc method

File::SetLastWriteTimeUtc method

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

static void System::IO::File::SetLastWriteTimeUtc(const String &path, DateTime lastWriteTimeUtc)
ParameterTypeDescription
pathconst String&The entity whose last write time to set
lastWriteTimeUtcDateTimeA DateTime object representing the time to set as UTC time

See Also