API:System.Classes.TStreamReader.ReadToEnd
Delphi
function ReadToEnd: string; override;
C++
virtual System::UnicodeString __fastcall ReadToEnd(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamReader |
Description
Read rest of characters from character source. {{#multireplace:System.Classes.TStreamReader.ReadToEnd|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TTextReader.ReadToEnd|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.ReadToEnd|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Read rest of characters from character source.
ReadToEnd reads characters from the current position in the character source to its end, returning the result as a string.
This method is functionally identical to the Microsoft .NET method TextReader.ReadToEnd.