Click to return to the Reusing Browser Technology home page    
IHTMLAreaElement::get_tar...     IHTMLAreasCollection::add...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLAreasCollection Interface


This interface is a collection of areas that make up the image map.

IHTMLAreasCollection Methods

add Adds an element to the collection.
get_length Retrieves the number of elements in a collection.
get_newEnum Retrieves an enumerator interface that can be used to iterate through the areas collection of the AREA element.
item Retrieves an element or a collection from the given collection.
put_length Sets the number of elements in a collection.
remove Removes an element from the collection.
tags Retrieves a collection of all elements in the given collection that have the given HTML tag name.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.