System::Xml::XmlAttributeCollection::SetNamedItem method
Contents
[
Hide
]XmlAttributeCollection::SetNamedItem method
Adds an XmlNode using its XmlNode::get_Name result.
SharedPtr<XmlNode> System::Xml::XmlAttributeCollection::SetNamedItem(SharedPtr<XmlNode> node) override
Parameter | Type | Description |
---|---|---|
node | SharedPtr<XmlNode> | An attribute node to store in this collection. The node will later be accessible using the name of the node. If a node with that name is already present in the collection, it is replaced by the new one; otherwise, the node is appended to the end of the collection. |
ReturnValue
If the node replaces an existing node with the same name, the old node is returned; otherwise, the added node is returned.
See Also
- Typedef SharedPtr
- Class XmlNode
- Class XmlAttributeCollection
- Namespace System::Xml
- Library Aspose.Font for C++