## File::OpenRead method


読み取り専用で、'Open' モードかつ読み取りの共有アクセスで指定されたファイルを開きます。

```cpp
static FileStreamPtr System::IO::File::OpenRead(const String &path)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| パス | const String\& | 開くファイルのパス |

### ReturnValue

開かれたファイルに関連付けられた [FileStream](../../filestream/) オブジェクト

## 参照

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