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.