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