Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SimpleValue Constructor (Object, Boolean, Boolean)
SimpleValue Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Construct a SimpleValue.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.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

Exception | Condition
--- | ---
System..::.ArgumentException | If the string value is illegal.

# See Also

SimpleValue Class
SimpleValue Overload
Tangosol.Run.Xml Namespace