System.Xml.XmlNode.Item Property
Gets the child element with the given local name and namespace URI.

Syntax

This is the default property for this class.

public virtual XmlElement this [string localname, string ns] { get; }

Parameters

localname
The local name of the element to return.
ns
The namespace URI of the element to return.

Value

The child element whose XmlNode.LocalName is localname and XmlNode.NamespaceURI is ns, 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