Click or drag to resize

SimpleElementAddElement Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-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: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual IXmlElement AddElement(
	string name
)

Parameters

name
Type: SystemString
The name for the new element.

Return Value

Type: IXmlElement
The new IXmlElement object.

Implements

IXmlElementAddElement(String)
Exceptions
ExceptionCondition
ArgumentException If the name is null or if the name is not a legal XML tag name.
InvalidOperationException If this element is immutable or otherwise can not add a child element.
Remarks
This is a convenience method. Elements are accessed and manipulated via the list returned from ElementList.
See Also