MSHTML Classes: CIFrameElement

An instance of the CIFrameElement class is created for each IFRAME tag.

Identifiers

coclass: HTMLIFrame {3050F316-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLIFrame {3050F51B-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CIFrameElement class exposes as properties (methods, collections, etc) through its string table in addition to the very many properties that are common to all elements.

Properties that Microsoft does not list in the HTML and DHTML Reference are highlighted. Properties that are listed but not as applying to the iframe element are shaded yellow.

Property Attribute Interface Member
align same IHTMLIFrameElement get_align
put_align
allowTransparency same IHTMLFrameBase2 get_allowTransparency
put_allowTransparency
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
border same IHTMLFrameBase get_border
put_border
childNodes   IHTMLDOMNode get_childNodes
cloneNode   IHTMLDOMNode cloneNode
contentWindow   IHTMLFrameBase2 get_contentWindow
dataFld   IHTMLDataBinding get_dataFld
put_dataFld
dataFormatAs   IHTMLDataBinding get_dataFormatAs
put_dataFormatAs
dataSrc   IHTMLDataBinding get_dataSrc
put_dataSrc
firstChild   IHTMLDOMNode get_firstChild
frameBorder same IHTMLFrameBase get_frameBorder
put_frameBorder
frameSpacing same IHTMLFrameBase get_frameSpacing
put_frameSpacing
hasChildNodes   IHTMLDOMNode hasChildNodes
height same IHTMLIFrameElement2 get_height
put_height
hspace same IHTMLIFrameElement get_hspace
put_hspace
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
longDesc same IHTMLFrameBase3 get_longDesc
put_longDesc
marginHeight same IHTMLFrameBase get_marginHeight
put_marginHeight
marginWidth same IHTMLFrameBase get_marginWidth
put_marginWidth
name same IHTMLFrameBase get_name
put_name
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
noResize same IHTMLFrameBase get_noResize
put_noResize
onload same IHTMLFrameBase2 get_onload
put_onload
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
scrolling same IHTMLFrameBase get_scrolling
put_scrolling
src same IHTMLFrameBase get_src
put_src
swapNode   IHTMLDOMNode swapNode
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
vspace same IHTMLIFrameElement get_vspace
put_vspace
width same IHTMLIFrameElement2 get_width
put_width