FileInfoOpenText Method (Encoding) |
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public StreamReader OpenText(
Encoding encoding
)
Public Function OpenText (
encoding As Encoding
) As StreamReader
public:
StreamReader^ OpenText(
Encoding^ encoding
)
member OpenText :
encoding : Encoding -> StreamReader
Parameters
- encoding
- Type: System.TextEncoding
The Encoding applied to the contents of the file.
Return Value
Type:
StreamReaderA new
StreamReader with the specified
Encoding.
See Also