HTMLCollection Class
The HTMLCollection represents a generic collection of Element.
Inheritance Hierarchy
SystemObject
  Aspose.Html.DomDOMObject
    Aspose.Html.CollectionsHTMLCollection

Namespace: Aspose.Html.Collections
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.11
Syntax
public abstract class HTMLCollection : DOMObject, 
	IEnumerable<Element>, IEnumerable

The HTMLCollection type exposes the following members.

Constructors
  NameDescription
Protected methodHTMLCollection
Initializes a new instance of the HTMLCollection class
Properties
  NameDescription
Public propertyItem
Returns the index-th item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
Public propertyLength
The number of nodes in the list.
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Gets the enumerator.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPlatformType
This method is used to retrieve ECMAScript object Type.
(Overrides DOMObjectGetPlatformType.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNamedItem
Returns the item in the collection matched specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also