getElementsByTagNameNS method
Gets a collection of nodes that match an element name from the specified namespace.
Syntax
HRESULT retVal = object.getElementsByTagNameNS(pvarNS, bstrLocalName, pelColl);
Parameters
pvarNS [in]
Type: VARIANTA BSTR value that contains the name of the desired namespace.
bstrLocalName [in]
Type: BSTRA BSTR value that contains the name of the element or an asterisk (
*
) to return all elements within the namespace.pelColl [out, retval]
Type: IHTMLElementCollectionA 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.