Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.1.3.0.0)
E47892-01
Assembly: Coherence (in Coherence.dll) Version: 12.1.3.0 (12.1.3.0)
12c (12.1.3.0.0)
E47892-01
Create a new element and add it as a child element to this
element.
Namespace: Tangosol.Run.XmlAssembly: Coherence (in Coherence.dll) Version: 12.1.3.0 (12.1.3.0)
Syntax
C# |
---|
public virtual IXmlElement AddElement( string name ) |
Parameters
- name
- Type: System..::..String
The name for the new element.
Return Value
The new IXmlElement object.Implements
IXmlElement..::..AddElement(String)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. |