MSHTML Classes: CBGSound

An instance of the CBGSound class is created for each BGSOUND tag.

Identifiers

coclass: HTMLBGSound {3050F370-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLBGSound {3050F53C-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CBGSound 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 bgSound object are shaded yellow.

Property Attribute Interface Member
appendChild   IHTMLDOMNode appendChild
attributes   IHTMLDOMNode get_attributes
balance same IHTMLBGSound get_balance
put_balance
childNodes   IHTMLDOMNode get_childNodes
cloneNode   IHTMLDOMNode cloneNode
firstChild   IHTMLDOMNode get_firstChild
hasChildNodes   IHTMLDOMNode hasChildNodes
insertBefore   IHTMLDOMNode insertBefore
lastChild   IHTMLDOMNode get_lastChild
loop same IHTMLBGSound get_loop
put_loop
nextSibling   IHTMLDOMNode get_nextSibling
nodeName   IHTMLDOMNode get_nodeName
nodeType   IHTMLDOMNode get_nodeType
nodeValue   IHTMLDOMNode get_nodeValue
put_nodeValue
ownerDocument   IHTMLDOMNode2 get_ownerDocument
parentNode   IHTMLDOMNode get_parentNode
previousSibling   IHTMLDOMNode get_previousSibling
removeChild   IHTMLDOMNode removeChild
removeNode   IHTMLDOMNode removeNode
replaceChild   IHTMLDOMNode replaceChild
replaceNode   IHTMLDOMNode replaceNode
src same IHTMLBGSound get_src
put_src
swapNode   IHTMLDOMNode swapNode
uniqueID   IHTMLUniqueName get_uniqueID
uniqueNumber   IHTMLUniqueName get_uniqueNumber
volume same IHTMLBGSound get_volume
put_volume