IHTMLDocument2::get_framesIHTMLDocument2::get_frames*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLDocument2::get_readyState
*Next Topic: IHTMLDocument2::get_embeds

IHTMLDocument2::get_frames


HRESULT get_frames(
    IHTMLFramesCollection2 **p
);

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.

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

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 only be referenced by ordinal position.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.