Detailed Description

A collection of HTML option elements.

Inheritance diagram for Dom.HTMLOptionsCollection:
Dom.INodeList

Public Member Functions

void remove (Node node)
 Removes the given node. More...
 
void insert (int index, Node node)
 Insert at the given index. More...
 
void push (Node node)
 Adds a node. More...
 
HtmlOptionElement namedItem (string name)
 
HtmlOptionElement item (int index)
 Gets a node at a particular index. More...
 
IEnumerator< HtmlOptionElementGetEnumerator ()
 

Properties

int length [get]
 
HtmlOptionElement this[int index] [get, set]
 Gets an element at the specified index. More...
 
- Properties inherited from Dom.INodeList
int length [get]
 The number of nodes in the list. More...
 

Private Member Functions

IEnumerator IEnumerable. GetEnumerator ()
 

Private Attributes

List< HtmlOptionElementvalues =new List<HtmlOptionElement>()
 

Member Function Documentation

IEnumerator<HtmlOptionElement> Dom.HTMLOptionsCollection.GetEnumerator ( )
inline
IEnumerator IEnumerable. Dom.HTMLOptionsCollection.GetEnumerator ( )
inlineprivate
void Dom.HTMLOptionsCollection.insert ( int  index,
Node  node 
)
inline

Insert at the given index.

Implements Dom.INodeList.

HtmlOptionElement Dom.HTMLOptionsCollection.item ( int  index)
inline

Gets a node at a particular index.

HtmlOptionElement Dom.HTMLOptionsCollection.namedItem ( string  name)
inline
void Dom.HTMLOptionsCollection.push ( Node  node)
inline

Adds a node.

Implements Dom.INodeList.

void Dom.HTMLOptionsCollection.remove ( Node  node)
inline

Removes the given node.

Implements Dom.INodeList.

Member Data Documentation

List<HtmlOptionElement> Dom.HTMLOptionsCollection.values =new List<HtmlOptionElement>()
private

Property Documentation

int Dom.HTMLOptionsCollection.length
get
HtmlOptionElement Dom.HTMLOptionsCollection.this[int index]
getset

Gets an element at the specified index.