RemoveInvalidCharacters Method
In This Topic
Removes characters that are not valid in XML
Syntax
'Declaration
<ContractAnnotationAttribute("source:null=>null; source:notnull=>notnull")>
Public Shared Function RemoveInvalidCharacters( _
ByVal As String, _
Optional ByVal As String _
) As String
[ContractAnnotation("source:null=>null; source:notnull=>notnull")]
public static string RemoveInvalidCharacters(
string ,
string
)
[ContractAnnotation("source:null=>null; source:notnull=>notnull")]
public:
static String^ RemoveInvalidCharacters(
String^ ,
String^
)
Parameters
- source
- replacement
See Also