Gets the child element with the given local name and namespace URI.
This is the default property for this class.
public virtual XmlElement this [string localname, string ns] { get; }
- localname
- The local name of the element to return.
- ns
- The namespace URI of the element to return.
The child element whose XmlNode.LocalName is localname and XmlNode.NamespaceURI is ns, or null if no child element has that name.
None.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0