Microsoft SDK for Java

DhDocument.enumerate

Returns an enumerator that represents the collection of elements.

Syntax

public DhEnumeration enumerate( int type )

Parameters

type

One of the types enumerated by the DhEnumeration class.

Return Value

Returns a DhEnumeration enumerator that represents the collection of elements of the types defined by the type parameter. This 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).

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