Export (0) Print
Expand All

getElementsByTagNameNS method

Gets a collection of nodes that match an element name from the specified namespace.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4Internet Explorer 9

Syntax


HRESULT retVal = object.getElementsByTagNameNS(pvarNS, bstrLocalName, pelColl);

Parameters

pvarNS [in]

Type: VARIANT

A BSTR value that contains the name of the desired namespace.

bstrLocalName [in]

Type: BSTR

A BSTR value that contains the name of the element or an asterisk (*) to return all elements within the namespace.

pelColl [out, retval]

Type: IHTMLElementCollection

A reference to an IHTMLElementCollection interface that lists nodes that match the specified name.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

 

 

Community Additions

ADD
Show:
© 2014 Microsoft