FireDAC.Comp.DataSet.TFDDataSet.SaveToStorage

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

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);

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