OptionCollection Class

OptionCollection class

The OptionElements represents a wrapper that is associated with the IHTMLOptionsCollection

public class OptionCollection : IEnumerable<OptionElement>

Properties

NameDescription
getCount The number of Option in the list.
getItem Gets the OptionElement at the specified index.

Methods

NameDescription
add()Add new option.
getEnumerator()Returns an enumerator that iterates through the collection.
remove(OptionElement)Remove the option from list.

See Also