Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Hosting and Reuse
MSHTML Reference
IHTMLDocument2
 frames Property

  Switch on low bandwidth view
IHTMLDocument2::frames Property

Gets an interface pointer to a zero-based collection of all of the frame objects in an HTML document, if the document contains the frameSet object. Gets an interface pointer to a zero-based collection of all of the iframe objects in the document, if the document contains the body object.

Syntax

HRESULT IHTMLDocument2::get_frames(IHTMLFramesCollection2 **p);

Parameters

p
A pointer to the IHTMLFramesCollection2 interface of the collection.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The frame objects or iframe objects are in the same order as they appear in the document. If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker