System.Xml.XmlNode.Item Property
Gets the child element with the given name.

Syntax

This is the default property for this class.

public virtual XmlElement this [string name] { get; }

Parameters

name
The name of the child element to return.

Value

The child element whose XmlNode.Name is name, or null if no child element has that name.

Remarks

None.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0