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
'Declaration
Public Function OpenText As StreamReader
'Usage
Dim instance As FileDialogFileInfo
Dim returnValue As StreamReader
returnValue = instance.OpenText()
public StreamReader OpenText()
public:
StreamReader^ OpenText()
public function OpenText() : StreamReader
Return Value
Type: System.IO.StreamReader
A new StreamReader with UTF8 encoding.