Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Create a new element and add it as a child element to this element.

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

Syntax

C#
IXmlElement AddElement(
	string name
)

Parameters

name
Type: System..::..String
The name for the new element.

Return Value

The new IXmlElement object.

Remarks

This is a convenience method. Elements are accessed and manipulated via the list returned from ElementList.

Exceptions

ExceptionCondition
System..::..ArgumentException If the name is null or if the name is not a legal XML tag name.
System..::..InvalidOperationException If this element is immutable or otherwise can not add a child element.

See Also