Gets the OptionElement at the specifed index.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
public OptionElement GetOptionElement( int index )
Parameters
- index
- Type: System Int32
The index of the OptionElement to retrieve.
Return Value
The OptionElement at the specified index.Exceptions
Exception | Condition |
---|---|
Facilita.Exception NoSuchValueException | The specified index is outside the available range. |
Examples
// iterate over the options within a SelectElement for (int i = 0; i < selectElement.OptionCount; i++) { OptionElement optionElement = selectElement.GetOptionElement(i); }
See Also