Skip to main content
.NET 6.0+

InMemoryDataStore.WriteXml(XmlWriter) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public void WriteXml(
    XmlWriter writer
)

Parameters

Name Type Description
writer XmlWriter

A System.Xml.XmlWriter object 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WriteXml(XmlWriter) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also