System.IOUtils.TFile.GetLinesEnumerator

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetLinesEnumerator(const Path: string): IEnumerable<string>;
class function GetLinesEnumerator(const Path: string;
const Encoding: TEncoding): IEnumerable<string>; overload; static;

C++

static System::DelphiInterface<System::IEnumerable__1<System::UnicodeString> > __fastcall GetLinesEnumerator(const System::UnicodeString Path)/* overload */;
static System::DelphiInterface<System::IEnumerable__1<System::UnicodeString> > __fastcall GetLinesEnumerator(const System::UnicodeString Path, System::Sysutils::TEncoding* const Encoding)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TFile

Description

Returns the line-by-line enumerator without loading full file content into the memory.


See Also