共用方式為


getAttributeNodeNS method

Gets an attribute object that matches the specified namespace and name.

 

Syntax

IHTMLDOMAttribute2 retVal = object.getAttributeNodeNS(pvarNS, bstrname);

Parameters

  • pvarNS [in]
    Type: VARIANT

    The namespace URI that defines the desired attribute, or a NULL value.

  • bstrname [in]
    Type: BSTR

    The name of the desired attribute, or a NULL value.

Standards information

See also

IHTMLElement6::getAttributeNode