Data.SqlExpr.TSQLMonitor.LoadFromFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromFile(AFileName: string);

C++

void __fastcall LoadFromFile(System::UnicodeString AFileName);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLMonitor

Description

Sets the contents of TraceList to the strings contained in a file.

Call LoadFromFile to initialize the message log with the contents of a file. This method can be used to start the log with standard header information you have saved in a file, or to pre-load the list with a log you saved previously using the SaveToFile method.

AFileName is the file from which to load the contents of the message log. If AFileName is an empty string, LoadFromFile uses the value of the FileName property.

Note: Any information currently in TraceList is lost when you call LoadFromFile.

See Also