Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
removeNamedItemNS
Collapse the table of content
Expand the table of content

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft