File: OpenText

OpenText

Opens a file for reading through a StreamReader.



 Public Function OpenText(
	  ByVal Path As String ) As StreamReader

Parameters

Path
[ByVal] 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 VBCorLib Overview Class File Overview File Properties File Methods OpenRead OpenWrite