共用方式為


getAttributeNS method

Gets the value of the specified attribute within the specified namespace.

 

Syntax

 retVal = object.getAttributeNS(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 within the specified namespace.

Standards information

See also

IHTMLElement6::getAttribute