Form GetOptionElement Method (String, String)C# API
Gets the OptionElement with the specified name and value.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public OptionElement GetOptionElement(
	string name,
	string value
)

Parameters

name
Type: System String
The name of the OptionElement to retrieve.
value
Type: System String
The value of the OptionElement to retrieve.

Return Value

The first OptionElement in the form that has the specified name and value.
Exceptions

ExceptionCondition
Facilita.Exception NoSuchValueExceptionThe form does not contain an OptionElement with the specified name and value.
Facilita.Exception BadValueExceptionThe HtmlElement with the specified name and value is not an OptionElement.
See Also