Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Assert.ReplaceNullChars Method (String)

 

In a string, replaces null characters ('\0') with "\\0".

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

public static string ReplaceNullChars(
	string input
)

Parameters

input
Type: System.String

The string in which to search for and replace null characters.

Return Value

Type: System.String

The converted string with null characters replaced by "\\0".

Return to top
Show: