## File::OpenRead method


Ouvre le fichier spécifié en lecture seule, en mode 'Open' avec un accès partagé en lecture.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| chemin | const String\& | Le chemin du fichier à ouvrir |

### ReturnValue

Un objet [FileStream](../../filestream/) associé au fichier ouvert.

## Voir aussi

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