System::Xml::XmlElement::GetElementsByTagName method

XmlElement::GetElementsByTagName(String, String) method

Returns an XmlNodeList containing a list of all descendant elements that match the specified XmlElement::get_LocalName and XmlElement::get_NamespaceURI values.

virtual SharedPtr<XmlNodeList> System::Xml::XmlElement::GetElementsByTagName(String localName, String namespaceURI)
ParameterTypeDescription
localNameStringThe local name to match. The asterisk (*) is a special value that matches all tags.
namespaceURIStringThe namespace URI to match.

ReturnValue

An XmlNodeList containing a list of all matching nodes. The list is empty if there are no matching nodes.

See Also

XmlElement::GetElementsByTagName(String) method

Returns an XmlNodeList containing a list of all descendant elements that match the specified XmlElement::get_Name.

virtual SharedPtr<XmlNodeList> System::Xml::XmlElement::GetElementsByTagName(String name)
ParameterTypeDescription
nameStringThe name tag to match. This is a qualified name. It is matched against the get_Name value of the matching node. The asterisk (*) is a special value that matches all tags.

ReturnValue

An XmlNodeList containing a list of all matching nodes. The list is empty if there are no matching nodes.

See Also