Click to return to the Reusing Browser Technology home page    
IHTMLDocument3::getElemen...     IHTMLDocument3::getElemen...     IHTMLDocument3 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDocument3::getElementsByName Method


Retrieves a collection of all elements with the specified name.

Syntax

HRESULT getElementsByName(
BSTR v,
IHTMLElementCollection **pelColl
);

Parameters

v
String (BSTR) that specifies the name to look for.
pelColl
Address of a pointer to an IHTMLElementCollection interface that returns all elements with the specified name.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.