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

Create a new element and add it as a child element to this element.

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

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