IHTMLWindow2::get_framesIHTMLWindow2::get_frames*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLWindow2::get_external
*Next Topic: IHTMLWindow2::get_history

IHTMLWindow2::get_frames


HRESULT get_frames(
    IHTMLFramesCollection2 **p 
);

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

p
Address of a variable that receives the interface pointer.

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.


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