## XmlElement::RemoveAttributeNode(SharedPtr\<XmlAttribute\>) method


Entfernt das angegebene [XmlAttribute](../../xmlattribute/).

```cpp
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| oldAttr | SharedPtr\<XmlAttribute\> | Der zu entfernende [XmlAttribute](../../xmlattribute/)-Knoten. Wenn das entfernte Attribut einen Standardwert hat, wird er sofort ersetzt. |

### ReturnValue

Das entfernte [XmlAttribute](../../xmlattribute/) oder **nullptr**, falls **oldAttr** kein Attributknoten des [XmlElement](../) ist.

## Siehe auch

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlAttribute](../../xmlattribute/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
## XmlElement::RemoveAttributeNode(String, String) method


Entfernt das [XmlAttribute](../../xmlattribute/) angegeben durch den lokalen Namen und Namespace-URI. (Falls das entfernte Attribut einen Standardwert hat, wird er sofort ersetzt).

```cpp
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(String localName, String namespaceURI)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| localName | String | Der lokale Name des Attributs. |
| namespaceURI | String | Der Namespace-URI des Attributs. |

### ReturnValue

Das entfernte [XmlAttribute](../../xmlattribute/) oder **nullptr**, falls das [XmlElement](../) keinen passenden Attributknoten hat.

## Siehe auch

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlAttribute](../../xmlattribute/)
* Class [String](../../../system/string/)
* Class [XmlElement](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
