Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
IXmlElement..::.AddElement Method
IXmlElement Interface See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
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.6.0.0 (3.6.0.0)

# 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

Exception | Condition
--- | ---
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

IXmlElement Interface
Tangosol.Run.Xml Namespace