Método System::Xml::XmlDocument::GetElementsByTagName

XmlDocument::GetElementsByTagName(String, String) method

Devuelve un XmlNodeList que contiene una lista de todos los elementos descendientes que coinciden con el XmlDocument::get_LocalName y el XmlNode::get_NamespaceURI.

virtual SharedPtr<XmlNodeList> System::Xml::XmlDocument::GetElementsByTagName(String localName, String namespaceURI)
ParámetroTipoDescripción
localNameStringThe LocalName to match. The special value "*" matches all tags.
namespaceURIStringNamespaceURI to match.

ReturnValue

An XmlNodeList containing a list of all matching nodes. If no nodes match the specified localName and namespaceURI, the returned collection will be empty.

Ver también

XmlDocument::GetElementsByTagName(String) method

Returns an XmlNodeList containing a list of all descendant elements that match the specified name.

virtual SharedPtr<XmlNodeList> System::Xml::XmlDocument::GetElementsByTagName(String name)
ParámetroTipoDescripción
nombreStringThe qualified name to match. It is matched against the get_Name value of the matching node. The special value "*" matches all tags.

ReturnValue

An XmlNodeList containing a list of all matching nodes. If no nodes match name, the returned collection will be empty.

Ver también