RemoveNamedItem()

XmlNamedNodeMap::RemoveNamedItem(String) method

Removes the node from the XmlNamedNodeMap.

virtual SharedPtr<XmlNode> System::Xml::XmlNamedNodeMap::RemoveNamedItem(String name)

Arguments

ParameterTypeDescription
nameStringThe qualified name of the node to remove. The name is matched against the XmlNode::get_Name value of the matching node.

Return Value

The XmlNode removed from this XmlNamedNodeMap or nullptr if a matching node was not found.

XmlNamedNodeMap::RemoveNamedItem(String, String) method

Removes a node with the matching XmlNode::get_LocalName and XmlNode::get_NamespaceURI values.

virtual SharedPtr<XmlNode> System::Xml::XmlNamedNodeMap::RemoveNamedItem(String localName, String namespaceURI)

Arguments

ParameterTypeDescription
localNameStringThe local name of the node to remove.
namespaceURIStringThe namespace URI of the node to remove.

Return Value

The XmlNode removed or nullptr if a matching node was not found.

See Also