System::Xml::XmlNamedNodeMap::SetNamedItem method
XmlNamedNodeMap::SetNamedItem method
Adds an XmlNode using its XmlNode::get_Name value.
virtual SharedPtr<XmlNode> System::Xml::XmlNamedNodeMap::SetNamedItem(SharedPtr<XmlNode> node)
Parameter | Type | Description |
---|---|---|
node | SharedPtr<XmlNode> | An XmlNode to store in the XmlNamedNodeMap. If a node with that name is already present in the map, it is replaced by the new one. |
ReturnValue
If the node replaces an existing node with the same name, the old node is returned; otherwise, nullptr is returned.
See Also
- Typedef SharedPtr
- Class XmlNode
- Class XmlNamedNodeMap
- Namespace System::Xml
- Library Aspose.TeX for C++