Microsoft SDK for Java

DhEnumeration.DhEnumeration

Creates a DhEnumeration object.

Syntax

public DhEnumeration( DhDocument document, int enumType )

Parameters

document

A reference to a DhDocument.

enumType

One of the valid types of collections, which can be one of the following:

ELEMENTS, which include all elements (tags including the HEAD and BODY).

IMAGES, which include only the images (such as IMG tags).

HLINKS, which include only the links (such as A tags).

Remarks

You can use this constructor or call DhDocument.enumerate to get the collection.

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