Escapes the provided string for use in XML. The following characters are escaped:
greater-than, less-than, double-quote, apostrophe, and ampersand.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ForXml(
string s
)
Public Shared Function ForXml (
s As String
) As String
Parameters
- s
- Type: SystemString
The string to escape.
Return Value
Type:
StringThe string, escaped for XML.
See Also