RAD Studio VCL Reference
TParameter.LoadFromFile Method

Loads the value of a parameter from a file.

procedure LoadFromFile(const FileName: string; DataType: TDataType);
__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!