C# Class Headless.HtmlList

Inheritance: HtmlFormElement
Afficher le fichier Open project: roryprimrose/Headless

Méthodes publiques

Méthode Description
Deselect ( string value ) : void

Deselects the specified value.

HtmlList ( IHtmlPage page, IXPathNavigable node ) : System

Initializes a new instance of the HtmlList class.

Select ( string value ) : void

Selects the specified value.

this ( string value ) : HtmlListItem

Gets the HtmlListItem with the specified value.

Méthodes protégées

Méthode Description
BuildPostData ( ) : IEnumerable

Private Methods

Méthode Description
BuildItemNotFoundException ( string value ) : HtmlElementNotFoundException

Throws the item not found.

MatchesItem ( HtmlFormElement item, string value ) : bool

Determines whether the item matches the specified value.

Method Details

BuildPostData() protected méthode

protected BuildPostData ( ) : IEnumerable
Résultat IEnumerable

Deselect() public méthode

Deselects the specified value.
/// No option element found for the specified value. ///
public Deselect ( string value ) : void
value string /// The value. ///
Résultat void

HtmlList() public méthode

Initializes a new instance of the HtmlList class.
/// The parameter is null. /// /// The parameter is null. ///
public HtmlList ( IHtmlPage page, IXPathNavigable node ) : System
page IHtmlPage /// The owning page. ///
node IXPathNavigable /// The node. ///
Résultat System

Select() public méthode

Selects the specified value.
/// No option element found for the specified value. ///
public Select ( string value ) : void
value string /// The value. ///
Résultat void

this() public méthode

Gets the HtmlListItem with the specified value.
public this ( string value ) : HtmlListItem
value string /// The value. ///
Résultat HtmlListItem