System::IO::File::SetLastWriteTime 方法

File::SetLastWriteTime method

将指定实体的最后写入时间设置为本地时间。

static void System::IO::File::SetLastWriteTime(const String &path, DateTime lastWriteTime)
参数类型描述
路径const String&要设置其最后写入时间的实体
lastWriteTimeDateTime一个表示要设置为本地时间的时间的 DateTime 对象

另见