PivotSummaryDataSource.ExportToXml(String, Boolean) Method

Exports the summary data source to an XML file.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll


public void ExportToXml(
    string fileName,
    bool writeSchema
Public Sub ExportToXml(
    fileName As String,
    writeSchema As Boolean


Name Type Description
fileName String

A String that specifies the name of the XML file to which the summary data source should be written.

writeSchema Boolean

true to write the summary data source with the relational structure as an inline XSD schema; otherwise, false.


You can also export the summary data source to a binary stream. To do this, use another overload of the ExportToXml method, which takes the stream parameter.

See Also