System.IO.FileInfo.OpenText Method

Creates a System.IO.StreamReader with UTF8 encoding that reads from an existing text file.

Syntax

public StreamReader OpenText ()

Returns

A new StreamReader with UTF8 encoding.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0