System::Xml::XmlNode::idx_get method

XmlNode::idx_get(String, String) method

Returns the first child element with the specified XmlNode::get_LocalName and XmlNode::get_NamespaceURI values.

virtual SharedPtr<XmlElement> System::Xml::XmlNode::idx_get(String localname, String ns)
ParameterTypeDescription
localnameStringThe local name of the element.
nsStringThe namespace URI of the element.

ReturnValue

The first XmlElement with the matching localname and ns. It returns nullptr if there is no match.

See Also

XmlNode::idx_get(String) method

Returns the first child element with the specified XmlNode::get_Name.

virtual SharedPtr<XmlElement> System::Xml::XmlNode::idx_get(String name)
ParameterTypeDescription
nameStringThe qualified name of the element to retrieve.

ReturnValue

The first XmlElement that matches the specified name. It returns nullptr if there is no match.

See Also