Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes a named item that is specified by a namespace and local name.
![]() ![]() |
Syntax
HRESULT retVal = object.removeNamedItemNS(pvarNS, bstrname, ppRemovedNode);
Parameters
pvarNS [in]
Type: VARIANTThe namespace name of the attribute to remove.
bstrname [in]
Type: BSTRThe local name of the desired attribute within the specified namespace.
ppRemovedNode [out, retval]
Type: IHTMLDOMAttributeReturns a pointer to the IHTMLDOMAttribute object that is removed from the document if it succeeds; otherwise, NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
.png)
.png)