getElementsByTagNameNS method

Gets a collection of objects that are based on the specified element names within a specified namespace.

 

Syntax

IHTMLElementCollection retVal = object.getElementsByTagNameNS(pvarNS, bstrLocalName);

Parameters

  • pvarNS [in]
    Type: VARIANT

    The namespace URI that defines the desired elements or an asterisk (*) to match all namespaces with the document.

  • bstrLocalName [in]
    Type: BSTR

    The name of the desired element or an asterisk (*) to match all elements with the specified namespace.

Standards information

See also

IHTMLElement2::getElementsByTagName