Overview | Methods | This Package | All Packages
OverviewMethodsThis PackageAll Packages
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).