SDAC

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; IndentFormat: TXmlIndentFormat = ifSpace); overload;

Parameters
Destination
Holds a TStream object.
IndentFormat
Specifies how to format indentation in XML format streams when saving the dataset. The default value is ifSpace. For other values, see the TXmlIndentFormat class.

Remarks

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

When saving to a stream, ensure that a TStream object is created, and its position is set to the desired value.

See Also

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