طريقة System::Xml::XmlElement::RemoveAttributeNode
محتويات
[
يخفي
]XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute>) method
يزيل XmlAttribute المحدد.
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
| Parameter | Type | الوصف |
|---|---|---|
| oldAttr | SharedPtr<XmlAttribute> | العقدة XmlAttribute التي سيتم إزالتها. إذا كان للخاصية التي أزيلت قيمة افتراضية، يتم استبدالها فورًا. |
ReturnValue
السمة XmlAttribute التي أزيلت أو nullptr إذا لم يكن oldAttr عقدة سمة في XmlElement.
انظر أيضًا
- Typedef SharedPtr
- Class XmlAttribute
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++
XmlElement::RemoveAttributeNode(String, String) method
يزيل XmlAttribute المحدد بالاسم المحلي ومسار مساحة الاسم. (إذا كان للخاصية التي أزيلت قيمة افتراضية، يتم استبدالها فورًا).
virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(String localName, String namespaceURI)
| Parameter | Type | الوصف |
|---|---|---|
| localName | String | الاسم المحلي للسمة. |
| namespaceURI | String | مسار مساحة الاسم للسمة. |
ReturnValue
السمة XmlAttribute التي أزيلت أو nullptr إذا لم يكن لدى XmlElement عقدة سمة مطابقة.
انظر أيضًا
- Typedef SharedPtr
- Class XmlAttribute
- Class String
- Class XmlElement
- Namespace System::Xml
- Library Aspose.Page for C++