Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-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: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public static string EncodeAttribute(
	string value,
	char chQuote
)

Parameters

value
Type: System..::..String
The attribute value to encode.
chQuote
Type: System..::..Char
The character that will be used to quote the attribute.

Return Value

The attribute value in its encoded form (but not quoted).

See Also