FireDAC.Comp.DataSet.TFDDataSet.SaveToStorage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SaveToStorage(const AFileName: String; AStream: TStream;
AFormat: TFDStorageFormat); virtual;

C++

virtual void __fastcall SaveToStorage(const System::UnicodeString AFileName, System::Classes::TStream* AStream, Firedac::Stan::Intf::TFDStorageFormat AFormat);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Saves dataset content into the specified data storage.

The SaveToStorage method saves the content of the dataset into the specified data storage. If AStream is not nil, the content is saved into the stream. If AFileName is not empty, the content is saved into the specified file. The AFormat parameter indicates the storage format.

This is rather an internal FireDAC method. An application should use SaveToStream or SaveToFile methods instead of SaveToStorage.

See Also