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. Wenn das entfernte Attribut einen Standardwert hat, wird er sofort ersetzt. |
ReturnValue
Das entfernte XmlAttribute oder nullptr, falls oldAttr kein Attributknoten des XmlElement ist.
Siehe auch
- Typedef SharedPtr
- Class XmlAttribute
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++
XmlElement::RemoveAttributeNode(String, String) method
Entfernt das XmlAttribute angegeben durch den lokalen Namen und Namespace-URI. (Falls das entfernte Attribut einen Standardwert hat, wird er 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.Page for C++