System::IO::File::OpenRead method

File::OpenRead method

Opens the specified file for reading only, in ‘Open’ mode with shared access for reading.

static FileStreamPtr System::IO::File::OpenRead(const String &path)
ParameterTypeDescription
pathconst String&The path of the file to open

ReturnValue

A FileStream object associated with the opened file

See Also