Click or drag to resize

XmlHelperEncodeAttribute Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Encode an attribute value so that it can be quoted and made part of a valid and well formed XML document.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static string EncodeAttribute(
	string value,
	char chQuote
)

Parameters

value
Type: SystemString
The attribute value to encode.
chQuote
Type: SystemChar
The character that will be used to quote the attribute.

Return Value

Type: String
The attribute value in its encoded form (but not quoted).
See Also