Partager via


IHTMLDOMAttribute4 interface

Provides programmatic access to the properties and methods that are common to all element objects. This interface extends the IHTMLDOMAttribute2 interface.

Members

The IHTMLDOMAttribute4 interface inherits from the IDispatch interface. IHTMLDOMAttribute4 also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLDOMAttribute4 interface has these methods.

Method Description
hasAttributes

Determines whether one or more attributes exist for the object.

hasChildNodes

Returns a value that indicates whether the object has children.

normalize

Merges adjacent DOM objects to produce a normalized document object model.

 

Properties

The IHTMLDOMAttribute4 interface has these properties.

Property Description

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.

nodeName

Gets the name of a particular type of node.

nodeValue

Gets or sets the value of a node.

specified

Gets a value that indicates whether an attribute is explicitly given a value.

value

Gets or sets the value of the object.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch