Share via


FileDialogFileInfo.OpenText Method

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

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)

Syntax

public StreamReader OpenText()

Return Value

Type: System.IO.StreamReader

A new StreamReader with UTF8 encoding.

See Also

Reference

FileDialogFileInfo Class

FileDialogFileInfo Members

System.Windows.Controls Namespace