Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

removeNamedItemNS method

Removes a named item that is specified by a namespace and local name.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4Internet Explorer 9

Syntax


HRESULT retVal = object.removeNamedItemNS(pvarNS, bstrname, ppRemovedNode);

Parameters

pvarNS [in]

Type: VARIANT

The namespace name of the attribute to remove.

bstrname [in]

Type: BSTR

The local name of the desired attribute within the specified namespace.

ppRemovedNode [out, retval]

Type: IHTMLDOMAttribute

Returns 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.

Standards information

See also

IHTMLAttributeCollection4::removeNamedItem

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.