idx_get()

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)

Arguments

ParameterTypeDescription
nameStringThe qualified name of the element to retrieve.

Return Value

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

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)

Arguments

ParameterTypeDescription
localnameStringThe local name of the element.
nsStringThe namespace URI of the element.

Return Value

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

See Also