<< Click to Display Table of Contents >> Navigation: »No topics above this level« SerializationExtensions.ReplaceInvalidXmlChars Method |
Removes the invalid XML chars from instance which would result in invalid files using xml serialization. Invalid chars are basically asci control charackters like CTRL+A
[Visual Basic]
<Extension> _
Public Shared Sub ReplaceInvalidXmlChars( _
ByVal instance As String, _
Optional ByVal replaceChar As String = ? _
)
[C#]
[Extension]
public static string ReplaceInvalidXmlChars(
this string instance,
this string replaceChar
);
instance
The string to work with.
replaceChar
Character to be used as replacement.
The resulting string.
SerializationExtensions Class | BR.AN.PviServices Namespace
Generated from assembly BR.AN.PviServices [8.1.0.4]