Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Get a child element for the specified element.

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

Syntax

C#
public static IXmlElement GetElement(
	IXmlElement xml,
	string name
)

Parameters

xml
Type: Tangosol.Run.Xml..::..IXmlElement
An IXmlElement.
name
Type: System..::..String
The name of the desired child element.

Return Value

The specified element as an object implementing IXmlElement, or null if the specified child element does not exist.

Remarks

If multiple child elements exist that have the specified name, then the behavior of this method is undefined, and it is permitted to return any one of the matching elements, to return null, or to throw an arbitrary runtime exception.

See Also