Skip to main content
.NET 6.0+

InMemoryDataStore.WriteXml(String) Method

Writes the data contained in the InMemoryDataStore to the specified file.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public void WriteXml(
    string fileName
)

Parameters

Name Type Description
fileName String

The name of the file to which to write data.

Remarks

Important

We do not recommend that you use the ReadXml and WriteXml methods due to potential vulnerabilities if the input XML document contains names of untrusted assemblies and types. Validate or sanitize the input XML documents even in testing and non-production environments for the best security.

See Also