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