VFile.OpenText Method
Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9119)
OpenText(String)
Method returns an instance of the StreamReader
for a file identified by the path
.
A caller must dispose the returned StreamWriter.
Declaration
public static StreamReader OpenText(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path of the file. |
Returns
Type | Description |
---|---|
StreamReader | An instance of the StreamReader
for a file identified by the |
Remarks
Returned instance of the StreamReader uses UTF-8 character encoding.