## Path::GetTempFileNameSafe method


创建一个具有唯一名称的新文件并返回其完整路径。是 [GetTempFileName_()](../gettempfilename_/) 方法的同义词。

```cpp
static String System::IO::Path::GetTempFileNameSafe()
```


### ReturnValue

已创建文件的完整路径

## 另见

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