System::Xml::XmlElement::RemoveAttributeNode method
Contents
[
Hide
]XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute>) method
Removes the specified XmlAttribute.
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
Parameter | Type | Description |
---|---|---|
oldAttr | SharedPtr<XmlAttribute> | The XmlAttribute node to remove. If the removed attribute has a default value, it is immediately replaced. |
ReturnValue
The removed XmlAttribute or nullptr if oldAttr is not an attribute node of the XmlElement.
See Also
- Typedef SharedPtr
- Class XmlAttribute
- Class XmlElement
- Namespace System::Xml
- Library Aspose.PDF for C++
XmlElement::RemoveAttributeNode(String, String) method
Removes the XmlAttribute specified by the local name and namespace URI. (If the removed attribute has a default value, it is immediately replaced).
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(String localName, String namespaceURI)
Parameter | Type | Description |
---|---|---|
localName | String | The local name of the attribute. |
namespaceURI | String | The namespace URI of the attribute. |
ReturnValue
The removed XmlAttribute or nullptr if the XmlElement does not have a matching attribute node.
See Also
- Typedef SharedPtr
- Class XmlAttribute
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.PDF for C++