@DOMObjectAttribute @DOMNameAttribute(name="HTMLOptionsCollection") @DOMIndexerAttribute(indexerType="Element") public interface IHTMLOptionsCollection extends com.aspose.html.internal.ms.System.Collections.Generic.IGenericEnumerable<Element>, IDOMCollectionIndexer<Element>
Modifier and Type | Method and Description |
---|---|
Element |
get_Item(int index)
Method returns the indexth item in the collection.
|
Element |
get_Item(String name)
Returns the indexth item in the collection.
|
int |
getLength()
The number of nodes in the list.
|
Element |
namedItem(String name)
Method returns the indexth item in the collection.
|
iterator
forEach, spliterator
Element get_Item(String name)
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.
name
- The element name.@DOMNameAttribute(name="item") Element get_Item(int index)
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
get_Item
in interface IDOMCollectionIndexer<Element>
index
- The index.@DOMNameAttribute(name="length") int getLength()
The number of nodes in the list.
@DOMNameAttribute(name="namedItem") Element namedItem(String name)
Method returns the indexth item in the collection. http://www.w3.org/TR/DOM-Level-2-HTML/html.html#HTMLOptionsCollection-namedItem
name
- The element name.