removeNamedItemNS method

[This documentation is preliminary and is subject to change.]

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, );

Standards information

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.

See also

removeNamedItem

 

 

Build date: 1/26/2012