Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
XmlHelper..::.GetElement Method (IXmlElement, String)
XmlHelper Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Get a child element for the specified element.

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

# 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

XmlHelper Class
GetElement Overload
Tangosol.Run.Xml Namespace