Contents Index Topic Contents | ||
Previous Topic: IHTMLElementCollection::item Next Topic: IHTMLEmbedElement |
IHTMLElementCollection::tags
HRESULT tags( VARIANT tagName, IDispatch **pdisp );Retrieves a collection of all objects in the given collection that have the given HTML tag name.
- Returns S_OK if successful, or an error value otherwise.
- tagName
- VARIANT structure containing a string specifying the HTML tag name of the objects to retrieve.
- pdisp
- Address of the IDispatch interface of the collection.
This method returns an empty collection if no objects having the given name are found. Use the length property on the collection to determine the number of objects it contains.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.