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