System::IO::File::OpenRead 方法

File::OpenRead method

以 ‘Open’ 模式打开指定文件,仅供读取,并共享读取访问。

static FileStreamPtr System::IO::File::OpenRead(const String &path)
ParameterType描述
路径const String&要打开的文件路径

ReturnValue

一个与已打开文件关联的 FileStream 对象

另见