OptionCollection Class

OptionCollection class

The OptionElements represents a wrapper that is associated with the IHTMLOptionsCollection

public class OptionCollection : IEnumerable<OptionElement>

Properties

NameDescription
Count { get; }The number of Option in the list.
Item { get; }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