Skip to main content
.NET 8.0+

InMemoryDataStore.ReadXml(XmlReader) Method

Reads the data into the InMemoryDataStore from a specific XmlReader.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public void ReadXml(
    XmlReader reader
)

Parameters

Name Type Description
reader XmlReader

A System.Xml.XmlReader object to read data from.

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 ReadXml(XmlReader) 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