TextFile Constructors
Overloads
Name | Description |
---|---|
Initialises a new instance of the TextFile class from a file on disk. | |
Initialises a new instance of the TextFile class from a Stream containing the file. | |
Initialises a new instance of the BinaryFile class from a string containing the file. |
TextFile(FileInfo)
Initialises a new instance of the TextFile class from a file on disk.
public TextFile(FileInfo file);
Parameters
TextFile(String, Stream)
Initialises a new instance of the TextFile class from a Stream containing the file.
public TextFile(string name, Stream text);
Parameters
TextFile(String, String)
Initialises a new instance of the BinaryFile class from a string containing the file.
public TextFile(string name, string text);
Parameters
Last modified: 09 September 2024