Click to return to the Reusing Browser Technology home page    
IHTMLFrameElement::get_bo...     IHTMLFramesCollection2::g...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLFramesCollection2 Interface


This interface is a zero-based collection of all FRAME elements if the document contains the FRAMESET element.

IHTMLFramesCollection2 Methods

get_length Retrieves the number of elements in the frames collection.
item Retrieves an element or a collection from the frames collection.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

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

Remarks

If the document contains the BODY element, this is a collection of all IFRAME elements in the document. In either case, the order of frames is determined by the HTML source.

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

This is a collection of FRAME tags.



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.