System::IO::File::SetLastWriteTime 方法
File::SetLastWriteTime method
将指定实体的最后写入时间设置为本地时间。
static void System::IO::File::SetLastWriteTime(const String &path, DateTime lastWriteTime)
| 参数 | 类型 | 描述 |
|---|---|---|
| 路径 | const String& | 要设置其最后写入时间的实体 |
| lastWriteTime | DateTime | 一个表示要设置为本地时间的时间的 DateTime 对象 |
另见
- Class String
- Class DateTime
- Class File
- Namespace System::IO
- Library Aspose.Font for C++