OptionCollection

OptionCollection class

The OptionElements represents a wrapper that is associated with the IHTMLOptionsCollection

public class OptionCollection : IEnumerable<OptionElement>

Properties

Name Description
Count { get; } The number of Option in the list.
Item { get; } Gets the OptionElement at the specified index.

Methods

Name Description
Add() Add new option.
GetEnumerator() Returns an enumerator that iterates through the collection.
Remove(OptionElement) Remove the option from list.

See Also