Click or drag to resize

EAPEncodeForXml Method

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
)

Parameters

s
Type: SystemString
The string to escape.

Return Value

Type: String
The string, escaped for XML.
See Also