XmlNode::Item Property (String^, String^)


Gets the first child element with the specified LocalName and NamespaceURI.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

property XmlElement^ default[
	String^ localname,
	String^ ns
] {
	virtual XmlElement^ get(String^ localname, String^ ns);


Type: System::String^

The local name of the element.

Type: System::String^

The namespace URI of the element.

Property Value

Type: System.Xml::XmlElement^

The 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
Return to top