File: OpenRead

OpenRead

Opens a file for reading as a FileStream.



 Public Function OpenRead(
	  ByRef Path As String ) As FileStream

Parameters

Path
[ByRef] String. The file to be opened in read mode.

Return Values

FileStream -  A FileStream used to read from the file.

Remarks

The FileStream object is declared as Cor.NewFileStream(Path, FileMode.OpenExisting, FileAccess.ReadAccess, FileShare.ReadShare).

See Also

Project CorLib Overview

Class File Overview