System::Xml::XmlElement::RemoveAttributeNode Methode
Inhalt
[
Ausblenden
]XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute>) method
Entfernt das angegebene XmlAttribute.
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
| Parameter | Typ | Beschreibung |
|---|---|---|
| oldAttr | SharedPtr<XmlAttribute> | Der zu entfernende XmlAttribute-Knoten. Hat das entfernte Attribut einen Standardwert, wird dieser sofort ersetzt. |
ReturnValue
Das entfernte XmlAttribute oder nullptr, wenn oldAttr kein Attributknoten des XmlElement ist.
Siehe auch
- Typedef SharedPtr
- Class XmlAttribute
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Font for C++
XmlElement::RemoveAttributeNode(String, String) method
Entfernt das XmlAttribute anhand des lokalen Namens und des Namespace-URI. (Hat das entfernte Attribut einen Standardwert, wird dieser sofort ersetzt).
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 oder nullptr, falls das XmlElement keinen passenden Attributknoten hat.
Siehe auch
- Typedef SharedPtr
- Class XmlAttribute
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Font for C++