C# Класс Headless.HtmlList

Наследование: HtmlFormElement
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
BuildPostData ( ) : IEnumerable

Приватные методы

Метод Описание
BuildItemNotFoundException ( string value ) : HtmlElementNotFoundException

Throws the item not found.

MatchesItem ( HtmlFormElement item, string value ) : bool

Determines whether the item matches the specified value.

Описание методов

BuildPostData() защищенный Метод

protected BuildPostData ( ) : IEnumerable
Результат IEnumerable

Deselect() публичный Метод

Deselects the specified value.
/// No option element found for the specified value. ///
public Deselect ( string value ) : void
value string /// The value. ///
Результат void

HtmlList() публичный Метод

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. ///
Результат System

Select() публичный Метод

Selects the specified value.
/// No option element found for the specified value. ///
public Select ( string value ) : void
value string /// The value. ///
Результат void

this() публичный Метод

Gets the HtmlListItem with the specified value.
public this ( string value ) : HtmlListItem
value string /// The value. ///
Результат HtmlListItem