System::IO::File::OpenRead 方法
File::OpenRead method
以 ‘Open’ 模式打开指定文件,仅供读取,并共享读取访问。
static FileStreamPtr System::IO::File::OpenRead(const String &path)
| Parameter | Type | 描述 |
|---|---|---|
| 路径 | const String& | 要打开的文件路径 |
ReturnValue
一个与已打开文件关联的 FileStream 对象
另见
- Typedef FileStreamPtr
- Class String
- Class File
- Namespace System::IO
- Library Aspose.Page for C++