2 out of 4 rated this helpful Rate this topic

IHTMLElementCollection Interface

.NET Framework 3.0

TProvides access to a collection of element objects.

IHTMLElementCollection Members

_newEnum Retrieves an enumerator for the collection.
item Retrieves a form object or an object from an elements collection.
length Gets or sets the number of objects in a collection.
tags Retrieves a collection of objects that have the specified HTML tag name.
toString Retrieves a string representation of the object.

Remarks

If duplicate names are found, a collection of those named items is returned. Collections of duplicate names must be referenced subsequently by ordinal position.

A zero-based collection, in source order, of all elements in a given form can contain any combination of input elements, select elements, and textArea elements.

This interface may also be referred to in code as IOmElementsCollection2.

This interface may also be referred to in code as IOmImagesCollection to indicate that all elements in the given collection are of the image type.

This interface may also be referred to in code as IOmLinksCollection2 to indicate that all elements in the given collection are of the link type.

This interface may also be referred to in code as IOmAnchorsCollection2 to indicate that all elements in the given collection are of the anchor type.

This interface may also be referred to in code as IOmFormsCollection2 to indicate that all elements in the given collection are of the form type.

Interface Information

Stock Implementation mshtml.dll
Custom Implementation No
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4
Minimum operating systems Windows 95, Windows NT 4.0, Windows CE 2.12

See Also

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ