XmlHelperEncodeContent Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Encode an element's content value so that it can be made part of
a valid and well formed XML document.
Namespace:
Tangosol.Run.Xml
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic static string EncodeContent(
string value,
bool preferBlockEscape
)
Parameters
- value
- Type: SystemString
The content value to encode.
- preferBlockEscape
- Type: SystemBoolean
Pass true to use the CDATA escape if two conditions are
met: that escaping is required, and that the value does not
contain the string "]]>".
Return Value
Type:
String
The attribute value in its encoded form (but not quoted).
See Also