Contents Index Topic Contents | ||
Previous Topic: IHTMLDocument2::get_links Next Topic: IHTMLDocument2::get_anchors |
IHTMLDocument2::get_forms
HRESULT get_forms( IHTMLElementCollection **p );Retrieves an interface pointer to a zero-based collection of all the FORM objects in an HTML document. The objects are in the same order as they appear in the document.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a pointer to the IHTMLElementCollection of the collection containing all the FORM objects in an HTML document.
The collection is indexed first by name, then by ID. If duplicate names are found, a collection of those named items is returned. The resulting collection can be only referenced by ordinal position.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.