Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

The IHTMLDOMAttribute2 interface has these methods.

MethodDescription
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.

PropertyDescription

expando

Sets or retrieves a value indicating whether arbitrary variables can be created within the object.

firstChild

Gets a reference to the first child in the childNodes collection of the object.

lastChild

Gets a reference to the last child in the childNodes collection of an object.

name

Sets or retrieves the name of the object.

nextSibling

Retrieves a reference to the next child of the parent for the object.

nodeType

Retrieves the type of the requested node.

ownerDocument

Retrieves the document object associated with the node.

parentNode

Retrieves the parent object in the document hierarchy.

previousSibling

Gets a reference to the previous child of the parent for the object.

value

Gets or sets the value of the object.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.