Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- tests
Type: array<System.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.