## File::GetLastWriteTime method


返回指定实体的最后写入时间（本地时间）。

```cpp
static DateTime System::IO::File::GetLastWriteTime(const String &path)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 要检索其最后写入时间的实体 |

### ReturnValue

一个表示指定实体的最后写入时间（本地时间）的 [DateTime](../../../system/datetime/) 对象

## 另见

* Class [DateTime](../../../system/datetime/)
* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.Font for C++](../../../)
