Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Serializes each provided test object and writes the resulting XML to the specified XML file by using the specified XML formatting.
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(), _
formatting As Formatting _
)
public void Write(
string destination,
Object[] tests,
Formatting formatting
)
public:
void Write(
String^ destination,
array<Object^>^ tests,
Formatting formatting
)
member Write :
destination:string *
tests:Object[] *
formatting:Formatting -> unit
public function Write(
destination : String,
tests : Object[],
formatting : Formatting
)
Parameters
destination
Type: StringThe name of the file to write to.
tests
Type: array<Object[]An array of test objects.
formatting
Type: FormattingOne of the Formatting values.
.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.