MSHTML Classes: CAttribute

The CAttribute class is the internal implementation of what MSHTML exposes for scripting as the attribute object.

Identifiers

coclass: HTMLDOMAttribute {3050F4B2-98B5-11CF-BB82-00AA00BDCE0B}
dispinterface: DispHTMLDOMAttribute {3050F564-98B5-11CF-BB82-00AA00BDCE0B}

Scripting

The table below lists the interface members that the CAttribute class exposes as properties (methods, collections, etc) through its string table.

Property Interface Member
appendChild IHTMLDOMAttribute2 appendChild
attributes IHTMLDOMAttribute2 get_attributes
childNodes IHTMLDOMAttribute2 get_childNodes
cloneNode IHTMLDOMAttribute2 cloneNode
expando IHTMLDOMAttribute2 get_expando
firstChild IHTMLDOMAttribute2 get_firstChild
hasChildNodes IHTMLDOMAttribute2 hasChildNodes
insertBefore IHTMLDOMAttribute2 insertBefore
lastChild IHTMLDOMAttribute2 get_lastChild
name IHTMLDOMAttribute2 get_name
nextSibling IHTMLDOMAttribute2 get_nextSibling
nodeName IHTMLDOMAttribute get_nodeName
nodeType IHTMLDOMAttribute2 get_nodeType
nodeValue IHTMLDOMAttribute get_nodeValue
put_nodeValue
ownerDocument IHTMLDOMAttribute2 get_ownerDocument
parentNode IHTMLDOMAttribute2 get_parentNode
previousSibling IHTMLDOMAttribute2 get_previousSibling
removeChild IHTMLDOMAttribute2 removeChild
replaceChild IHTMLDOMAttribute2 replaceChild
specified IHTMLDOMAttribute get_specified
value IHTMLDOMAttribute2 get_value
put_value