Click or drag to resize

XmlHelperGetElement Method (IXmlElement, String)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Get a child element for the specified element.

Namespace:  Tangosol.Run.Xml
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static IXmlElement GetElement(
	IXmlElement xml,
	string name
)

Parameters

xml
Type: Tangosol.Run.XmlIXmlElement
An IXmlElement.
name
Type: SystemString
The name of the desired child element.

Return Value

Type: IXmlElement
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