AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.6" />

.NET API 1,261,568 bytes

 IHtmlOptionsCollection

Represents a collection of HTML option elements.
int SelectedIndex { get; set; }

Gets or sets the selected index.

void Add(IHtmlOptionElement element, IHtmlElement before = null)

Adds an option element to the collection.

void Add(IHtmlOptionsGroupElement element, IHtmlElement before = null)

Adds an options group element to the collection.

Gets an HTML option element at the specified index.

void Remove(int index)

Removes an element from the collection.

void SetOptionAt(int index, IHtmlOptionElement option)

Sets an HTML option element at the specified index.