TextFileStream Constructor
Namespace: DevCase.Core.DataProcessing.TextFilesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public TextFileStream(
string filepath,
Encoding enc = null
)
Public Sub New (
filepath As String,
Optional enc As Encoding = Nothing
)
Dim filepath As String
Dim enc As Encoding
Dim instance As New TextFileStream(filepath,
enc)
public:
TextFileStream(
String^ filepath,
Encoding^ enc = nullptr
)
new :
filepath : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> TextFileStream
No code example is currently available or this language may not be supported.
Parameters
- filepath String
-
The textfile path.
If the path doesn't exists, the file will be created.
- enc Encoding (Optional)
-
The file encoding used to read the textfile.
If enc value is , an attempt to detect the encoding will be realized,
if the attempt to detect the file encoding fails, then Default will be used.
FileNotFoundException
|
File not found.
|