## FileInfo::Create method


Creates a file at the location specified by the path represented by the current object and opens it for reading and writing, in truncate mode and with no sharing.

```cpp
FileStreamPtr System::IO::FileInfo::Create()
```


### ReturnValue

A [FileStream](../../filestream/) object associated with the created file

## See Also

* Typedef [FileStreamPtr](../../../system/filestreamptr/)
* Class [FileInfo](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
