Partager via


IHTMLAttributeCollection2 interface

Extends the IHTMLAttributeCollection interface.

Members

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

  • Methods

Methods

The IHTMLAttributeCollection2 interface has these methods.

Method Description
getNamedItem

Gets an IHTMLDOMAttribute specified with the IHTMLDOMAttribute2::name property, by using the IHTMLAttributeCollection interface.

removeNamedItem

Removes an IHTMLDOMAttribute specified with the IHTMLDOMAttribute2::name property from an element by using the IHTMLAttributeCollection interface.

setNamedItem

Adds an IHTMLDOMAttribute to an element by using an IHTMLAttributeCollection interface.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

IHTMLAttributeCollection