File: OpenText

OpenText

Opens a file for reading through a StreamReader.



 Public Function OpenText(
	  ByRef Path As String ) As StreamReader

Parameters

Path
[ByRef] String. The file to be opened for reading.

Return Values

StreamReader -  A StreamReader used to read from the file with the default encoding (UTF8Encoding).

Remarks

The StreamReader is declared as Cor.NewStreamReader(Path).

See Also

Project CorLib Overview

Class File Overview