FileOpenText Method (String, PathFormat) |
[AlphaFS] Opens an existing NativeMethods.DefaultFileEncoding encoded text file for reading.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static StreamReader OpenText(
string path,
PathFormat pathFormat
)
Public Shared Function OpenText (
path As String,
pathFormat As PathFormat
) As StreamReader
public:
static StreamReader^ OpenText(
String^ path,
PathFormat pathFormat
)
static member OpenText :
path : string *
pathFormat : PathFormat -> StreamReader
Parameters
- path
- Type: SystemString
The file to be opened for reading. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
StreamReaderA
StreamReader on the specified path.
See Also