IHTMLOptionsCollection Interface
An HTMLOptionsCollection is a list of nodes representing HTML option element. An individual node may be accessed by either ordinal index or the node's name or id attributes. Collections in the HTML DOM are assumed to be live meaning that they are automatically updated when the underlying document is changed.

See also the Document object Model (DOM) Level 2 HTML Specification. @since DOM Level 2

Namespace: Aspose.Html
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public interface IHTMLOptionsCollection : IEnumerable<Element>, 
	IEnumerable

The IHTMLOptionsCollection type exposes the following members.

Properties
  NameDescription
Public propertyItemInt32
Method returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null. http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTMLOptionsCollection-namedItem
Public propertyItemString
Returns the indexth 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 methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableElement.)
Public methodNamedItem
Method returns the indexth item in the collection. http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTMLOptionsCollection-namedItem
See Also