| FileReadLine Method (FileStream, StreamReader) |
Reads a line of text from a file's stream.
Namespace:
Galactic.FileSystem
Assembly:
Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public static string ReadLine(
FileStream stream,
ref StreamReader reader
)
Public Shared Function ReadLine (
stream As FileStream,
ByRef reader As StreamReader
) As String
public:
static String^ ReadLine(
FileStream^ stream,
StreamReader^% reader
)
static member ReadLine :
stream : FileStream *
reader : StreamReader byref -> string
Parameters
- stream
- Type: System.IOFileStream
The file stream to read from. - reader
- Type: System.IOStreamReader
A stream reader used when reading from the file. Useful for successive calls to ReadLine.
Return Value
Type:
StringThe line of text read, null if an error occurred while reading.
See Also