Geoff Chappell - Software Analyst
An instance of the CCommentElement class is created for each COMMENT or ! tag.
coclass: | HTMLCommentElement | {3050F317-98B5-11CF-BB82-00AA00BDCE0B} |
dispinterface: | DispHTMLCommentElement | {3050F50A-98B5-11CF-BB82-00AA00BDCE0B} |
The table below lists the interface members that the CCommentElement 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.
Property | Interface | Member |
---|---|---|
appendChild | IHTMLDOMNode | appendChild |
appendData | IHTMLCommentElement2 | appendData |
atomic | IHTMLCommentElement | get_atomic put_atomic |
attributes | IHTMLDOMNode | get_attributes |
childNodes | IHTMLDOMNode | get_childNodes |
cloneNode | IHTMLDOMNode | cloneNode |
data | IHTMLCommentElement2 | get_data put_data |
deleteData | IHTMLCommentElement2 | deleteData |
firstChild | IHTMLDOMNode | get_firstChild |
hasChildNodes | IHTMLDOMNode | hasChildNodes |
insertBefore | IHTMLDOMNode | insertBefore |
insertData | IHTMLCommentElement2 | insertData |
lastChild | IHTMLDOMNode | get_lastChild |
length | IHTMLCommentElement2 | get_length |
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 |
replaceData | IHTMLCommentElement2 | replaceData |
replaceNode | IHTMLDOMNode | replaceNode |
substringData | IHTMLCommentElement2 | substringData |
swapNode | IHTMLDOMNode | swapNode |
text | IHTMLCommentElement | get_text put_text |
uniqueID | IHTMLUniqueName | get_uniqueID |
uniqueNumber | IHTMLUniqueName | get_uniqueNumber |