System::Xml::XmlElement::RemoveAttributeNode method
isi
[
bersembunyi
]XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute>) method
Menghapus XmlAttribute yang ditentukan.
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| oldAttr | SharedPtr<XmlAttribute> | Node XmlAttribute yang akan dihapus. Jika atribut yang dihapus memiliki nilai default, nilai tersebut akan langsung diganti. |
ReturnValue
XmlAttribute yang dihapus atau nullptr jika oldAttr bukan node atribut dari XmlElement.
Lihat Juga
- Typedef SharedPtr
- Class XmlAttribute
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++
XmlElement::RemoveAttributeNode(String, String) method
Menghapus XmlAttribute yang ditentukan oleh nama lokal dan namespace URI. (Jika atribut yang dihapus memiliki nilai default, nilai tersebut akan langsung diganti).
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(String localName, String namespaceURI)
| Parameter | Tipe | Deskripsi |
|---|---|---|
| localName | String | Nama lokal atribut. |
| namespaceURI | String | Namespace URI atribut. |
ReturnValue
XmlAttribute yang dihapus atau nullptr jika XmlElement tidak memiliki node atribut yang cocok.
Lihat Juga
- Typedef SharedPtr
- Class XmlAttribute
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++