Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.1.3.0.0)
E47892-01
Construct a SimpleValue.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 12.1.3.0 (12.1.3.0)

Syntax

C#
public SimpleValue(
	Object value,
	bool isAttribute,
	bool isReadOnly
)

Parameters

value
Type: System..::..Object
The initial value for this SimpleValue.
isAttribute
Type: System..::..Boolean
true if this SimpleValue is an element attribute value; false if an element's content's value.
isReadOnly
Type: System..::..Boolean
true if this SimpleValue is intended to be read-only once the constructor has finished.

Remarks

Constructs an element's content or attribute value from the passed string value, and also allows the caller to specify that the value is immutable. The string should be un-escaped by this point; it must not still be in the form of the CDATA construct.

Exceptions

ExceptionCondition
System..::..ArgumentException If the string value is illegal.

See Also