طريقة System::Xml::XmlElement::RemoveAttributeNode

XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute>) method

تُزيل الـ XmlAttribute المحدد.

virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(SharedPtr<XmlAttribute> oldAttr)
معاملنوعالوصف
oldAttrSharedPtr<XmlAttribute>عقدة XmlAttribute التي سيتم إزالتها. إذا كان للخاصية المُزالة قيمة افتراضية، يتم استبدالها فورًا.

ReturnValue

XmlAttribute المُزالة أو nullptr إذا كان oldAttr ليس عقدة خاصية من XmlElement.

انظر أيضًا

XmlElement::RemoveAttributeNode(String, String) method

تُزيل الـ XmlAttribute المحدد بالاسم المحلي ومسار URI للمساحة الاسمية. (إذا كان للخاصية المُزالة قيمة افتراضية، يتم استبدالها فورًا).

virtual SharedPtr<XmlAttribute> System::Xml::XmlElement::RemoveAttributeNode(String localName, String namespaceURI)
معاملنوعالوصف
localNameStringالاسم المحلي للخاصية.
namespaceURIStringمسار URI للمساحة الاسمية للخاصية.

ReturnValue

العنصر XmlAttribute المُزال أو nullptr إذا لم يكن لدى XmlElement عقدة سمة مطابقة.

انظر أيضًا