## File::GetCreationTime method


返回指定实体的创建时间（本地时间）。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 要检索其创建时间的实体 |

### ReturnValue

一个 [DateTime](../../../system/datetime/) 对象，表示指定实体的创建时间（本地时间）

## 另见

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