Assert.ReplaceNullChars Method
In a string, replaces null characters ('\0') with "\\0".
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Parameters
- input
- Type: System.String
The string in which to search for and replace null characters.
- 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.