IHTMLFramesCollection2 interface

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

Members

The IHTMLFramesCollection2 interface inherits from the IDispatch interface. IHTMLFramesCollection2 also has these types of members:

Methods

The IHTMLFramesCollection2 interface has these methods.

MethodDescription
item

Retrieves a frame or iframe object from the collection.

 

Properties

The IHTMLFramesCollection2 interface has these properties.

PropertyDescription

length

Sets or retrieves the number of objects in a collection.

 

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.

This interface may also be referred to in code as IOmFramesCollection2.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft