PgDAC

TMemDataSet.SaveToXML Method

Saves the current dataset data to a stream in the XML format compatible with ADO format.

Class

TMemDataSet

Syntax

procedure SaveToXML(Destination: TStream); overload;

Parameters
Destination
Holds a TStream object.

Remarks

Call the SaveToXML method to save the current dataset data to a file or a stream in the XML format compatible with ADO format.

If the destination file already exists, it is overwritten. It remains open from the first call to SaveToXML until the dataset is closed. This file can be read by other applications while it is opened, but they cannot write to the file.

When saving data to a stream, a TStream object must be created and its position must be set in a preferable value.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback