Compartilhar via


IHTMLAttributeCollection3 interface

Provides the ability to programmatically access items in an element's attribute collection. Extends the IHTMLAttributeCollection2 interface.

Members

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

  • Methods
  • Properties

Methods

The IHTMLAttributeCollection3 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.

 

Properties

The IHTMLAttributeCollection3 interface has these properties.

Property Description

length

Sets or retrieves the number of objects in a collection.

 

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch