API:System.Classes.TStreamReader.ReadLine

From RAD Studio API Documentation

Delphi

function ReadLine: string; override;

C++

virtual System::UnicodeString __fastcall ReadLine(void);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TStreamReader

Description

Read line of characters. {{#multireplace:System.Classes.TStreamReader.ReadLine|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TTextReader.ReadLine|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TTextReader.ReadLine|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Read line of characters.

ReadLine reads a line of characters from the character source, returning the result as a string.

This method is functionally identical to the Microsoft .NET method TextReader.ReadLine.

See Also

Code Examples