XmlNode.Item Property (String, String)
.NET Framework (current version)
Gets the first child element with the specified LocalName and NamespaceURI.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- localname
-
Type:
System.String
The local name of the element.
- ns
-
Type:
System.String
The namespace URI of the element.
Property Value
Type: System.Xml.XmlElementThe first XmlElement with the matching localname and ns. . It returns a null reference (Nothing in Visual Basic) if there is no match.
This property is a Microsoft extension to the Document Object Model (DOM).
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: