Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

VFile.OpenText Method

Namespace: Rebex.IO
Assembly: Rebex.FileSystem.dll (version 7.0.9147)

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 path.

Remarks

Returned instance of the StreamReader uses UTF-8 character encoding.

In This Article
  • OpenText(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies