Partager via


IHTMLAreasCollection interface

Specifies the collection of areas that make up the image map.

Members

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

  • Methods
  • Properties

Methods

The IHTMLAreasCollection interface has these methods.

Method Description
add

Adds an element to the areas, controlRange, or options collection.

item

Retrieves an object from an areas collection.

remove

Removes an element from the collection.

tags

Retrieves a collection of objects that have the specified HTML tag name.

 

Properties

The IHTMLAreasCollection interface has these properties.

Property Description

length

Sets or retrieves the number of objects in a collection.

 

Remarks

Areas can be added or removed from the collection. If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLAreasCollection2

IHTMLAreasCollection3