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: StringThe name of the file to write to.
tests
Type: array<Object[]An array of test objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.