Skip to main content
.NET 8.0+

InMemoryDataStore.WriteXml(XmlWriter) Method

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.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.

See Also