removeAttributeNode Method (Windows CE 5.0)
Removes the specified attribute from this element.
[Script]
Script Syntax
varobjXMLDOMAttribute = oXMLDOMElement.removeAttributeNode(DOMAttribute);
Script Parameters
- DOMAttribute
Object that supplies the IXMLDOMAttribute object to be removed from this element.
Return Value
Object. Returns the removed element.
[C/C++]
C/C++ Syntax
HRESULT removeAttributeNode(IXMLDOMAttribute* DOMAttribute,IXMLDOMAttribute** attributeNode);
C/C++ Parameters
- DOMAttribute
[in] IXMLDOMAttribute object that is to be removed from this element. - attributeNode
[out, retval] Removed element.
C/C++ Return Values
- S_OK
Value returned if successful. - E_FAIL
Value returned if an error occurs.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.
General Remarks
If the attribute has a default value, this call also creates a new attribute with the default value, associates the new attribute with this element, and resets the attribute's specified property.
This method applies to the following objects and interfaces:
IXMLDOMElement and IXMLDOMAttribute.
See Also
Send Feedback on this topic to the authors