MSHTML Classes: CObjectElement

An instance of the CObjectElement class is created for each APPLET or OBJECT tag.

Identifiers

coclass: HTMLObjectElement {3050F24E-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLObjectElement {3050F529-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CObjectElement 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 yellow. Properties that are listed but not as applying to the object element are shaded yellow.

Property Attribute Interface Member
align same IHTMLObjectElement get_align
put_align
alt same IHTMLObjectElement3 get_alt
put_alt
altHtml   IHTMLObjectElement get_altHtml
put_altHtml
appendChild   IHTMLDOMNode appendChild
archive same IHTMLObjectElement3 get_archive
put_archive
attributes   IHTMLDOMNode get_attributes
BaseHref   IHTMLObjectElement get_BaseHref
border same IHTMLObjectElement3 get_border
put_border
childNodes   IHTMLDOMNode get_childNodes
classid same IHTMLObjectElement2 get_classid
put_classid
cloneNode   IHTMLDOMNode cloneNode
code same IHTMLObjectElement get_code
put_code
codeBase same IHTMLObjectElement get_codeBase
put_codeBase
codeType same IHTMLObjectElement get_codeType
put_codeType
data same IHTMLObjectElement2 get_data
put_data
dataFld   IHTMLDataBinding get_dataFld
put_dataFld
dataFormatAs   IHTMLDataBinding get_dataFormatAs
put_dataFormatAs
dataSrc   IHTMLDataBinding get_dataSrc
put_dataSrc
declare same IHTMLObjectElement3 get_declare
put_declare
firstChild   IHTMLDOMNode get_firstChild
form   IHTMLObjectElement get_form
hasChildNodes   IHTMLDOMNode hasChildNodes
height same IHTMLObjectElement get_height
put_height
hspace same IHTMLObjectElement get_hspace
put_hspace
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
name same IHTMLObjectElement get_name
put_name
namedRecordSet   IHTMLObjectElement2 namedRecordSet
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
object   IHTMLObjectElement get_object
onerror same IHTMLObjectElement get_onerror
put_onerror
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
recordset   IHTMLObjectElement get_recordset
putref_recordset
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
standby same IHTMLObjectElement3 get_standby
put_standby
swapNode   IHTMLDOMNode swapNode
type same IHTMLObjectElement get_type
put_type
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
useMap same IHTMLObjectElement3 get_useMap
put_useMap
vspace same IHTMLObjectElement get_vspace
put_vspace
width same IHTMLObjectElement get_width
put_width