Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Override the values of the specified base element with values from the specified override element.

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

Syntax

C#
public static void OverrideElement(
	IXmlElement xmlBase,
	IXmlElement xmlOverride
)

Parameters

xmlBase
Type: Tangosol.Run.Xml..::..IXmlElement
Base IXmlElement.
xmlOverride
Type: Tangosol.Run.Xml..::..IXmlElement
Override IXmlElement.

Remarks

The values are only overriden if there is an exact match between the element paths and all attribute values. Empty override values are ignored. Override elements that do not match any of the base elements are just copied over. No ambiguity is allowed.
For example, if the base element has more then one child with the same name and attributes then the override is not allowed.

Exceptions

ExceptionCondition
System..::..InvalidOperationException If the base element is immutable or there is ambiguity between the override and base elements.

See Also