Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

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: 3.7.1.23 (3.7.1.23)

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