SetLastWriteTimeUtc()

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

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

static void System::IO::Directory::SetLastWriteTimeUtc(const String &path, DateTime date)

Arguments

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

See Also