Click to return to the Reusing Browser Technology home page    
IHTMLDocument2::get_forms...     IHTMLDocument2::get_image...     IHTMLDocument2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLDocument2::get_frames Method


Retrieves an interface pointer to a zero-based collection of all the FRAME objects in an HTML document, if the document contains the FRAMESET object. If the document contains the BODY object, this is a collection of all IFRAME objects in the document. In either case, the objects are in the same order as they appear in the document.

Syntax

HRESULT get_frames(
    IHTMLFramesCollection2 **p
);

Parameters

p
Address of a pointer to the IHTMLFramesCollection2 interface of the collection.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.