XmlTestWriter.Write Method (String, array<Object )

Serializes each provided test object and writes the resulting XML to the specified XML file.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub Write ( _
    destination As String, _
    tests As Object() _
)
public void Write(
    string destination,
    Object[] tests
)
public:
void Write(
    String^ destination, 
    array<Object^>^ tests
)
member Write : 
        destination:string * 
        tests:Object[] -> unit 
public function Write(
    destination : String, 
    tests : Object[]
)

Parameters

  • destination
    Type: System.String
    The name of the file to write to.

.NET Framework Security

See Also

Reference

XmlTestWriter Class

Write Overload

Microsoft.VisualStudio.TestTools.Common Namespace