Creates a DhEnumeration object.
public DhEnumeration( DhDocument document, int enumType )
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).
You can use this constructor or call DhDocument.enumerate to get the collection.