We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Microsoft.VisualStudio.TestTools.Common.Xml Namespace

The Microsoft.VisualStudio.TestTools.Common.Xml namespace provides classes and interfaces that enable management and incorporation of XML files in your tests. This namespace includes the IXmlTestStore and IXmlTestStoreCustom classes, which can be used to create XML data stores that use custom persistence methods. This namespace also includes the XmlTestStoreParameters class, which provides a flexible and practical way to work with test parameters.

Public classXmlTestStoreParametersClass to contain optional parameters to the persistence process. A class that implements IPersistable can use the parameter values to define its load and save behavior.

Public interfaceIXmlTestStoreProvides a mechanism for custom persistence logic.
Public interfaceIXmlTestStoreCustomProvides a mechanism for customizing XmlStore persistence.