RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParameter.LoadFromFile Method

Loads the value of a parameter from a file.

Pascal
procedure LoadFromFile(const FileName: string; DataType: TDataType);
C++
__fastcall LoadFromFile(const AnsiString FileName, TDataType DataType);

Call LoadFromFile to copy the contents of a file into a parameter. 

FileName contains the name of the file from which to copy data. 

DataType is the field data type the loaded data is to be treated as. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!