SetLastWriteTimeUtc()

File::SetLastWriteTimeUtc(const String&, DateTime) method

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

static void System::IO::File::SetLastWriteTimeUtc(const String &path, DateTime lastWriteTimeUtc)

Arguments

ParameterTypeDescription
pathconst String&The entity whose last write time to set
lastWriteTimeUtcDateTimeA DateTime object representing the time to set as UTC time

See Also