IHTMLDOMAttribute2 interface
Provides programmatic access to the properties and methods that are common to all element objects; extends the IHTMLDOMAttribute interface.
Members
The IHTMLDOMAttribute2 interface inherits from the IDispatch interface. IHTMLDOMAttribute2 also has these types of members:
- Methods
- Properties
Methods
The IHTMLDOMAttribute2 interface has these methods.
Method | Description |
---|---|
appendChild | Appends an element as a child to the object. |
cloneNode | Produces an identical copy, or clone, of the node. |
hasChildNodes | Returns a value that indicates whether the object has children. |
insertBefore | Inserts an element into the document hierarchy as a child node of a parent object. |
removeChild | Removes a child node from the object. |
replaceChild | Replaces an existing child element with a new child element. |
Properties
The IHTMLDOMAttribute2 interface has these properties.
Property | Description |
---|---|
Gets a collection of HTML Elements and TextNode objects that are direct descendants of the specified object. |
|
Sets or retrieves a value indicating whether arbitrary variables can be created within the object. |
|
Gets a reference to the first child in the childNodes collection of the object. |
|
Gets a reference to the last child in the childNodes collection of an object. |
|
Sets or retrieves the name of the object. |
|
Retrieves a reference to the next child of the parent for the object. |
|
Retrieves the type of the requested node. |
|
Retrieves the document object associated with the node. |
|
Retrieves the parent object in the document hierarchy. |
|
Gets a reference to the previous child of the parent for the object. |
|
Gets or sets the value of the object. |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |