Contents Index Topic Contents | ||
Previous Topic: IHTMLDocument2::get_applets Next Topic: IHTMLDocument2::get_forms |
IHTMLDocument2::get_links
HRESULT get_links( IHTMLElementCollection **p );Retrieves an interface pointer to a zero-based collection of all the LINK and AREA 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 interface of the collection containing all the LINK and AREA elements.
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.