C# Класс CsQuery.Implementation.HTMLOptionsCollection

A collection of HTML options.
Наследование: IHTMLOptionsCollection
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Children IEnumerable
Children IEnumerable
GetSelectedItem int
System IEnumerator
this IDomElement
this IDomElement

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

Метод Описание
GetEnumerator ( ) : IEnumerator

Gets the enumerator.

HTMLOptionsCollection ( IDomElement parent ) : System

Creates an HTMLOptionsCollection from the children of a Select element.

Item ( int index ) : IDomElement

Returns the specific node at the given zero-based index (gives null if out of range)

NamedItem ( string name ) : IDomElement

Returns the specific node with the given DOMString (i.e., string) id. Returns null if no such named node exists.

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

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

Enumerates the element children of a node.

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

Метод Описание
Children ( IDomElement parent ) : IEnumerable

Implementation for Children. The bool part of the tuple indicates if the element inherits a "disabled" property.

Children ( IDomElement parent, bool disabled ) : IEnumerable
GetSelectedItem ( OptionElement &el ) : int
System ( ) : IEnumerator

Gets the enumerator.

this ( int index ) : IDomElement
this ( string name ) : IDomElement

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

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

Enumerates the element children of a node.
protected Children ( ) : IEnumerable
Результат IEnumerable

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

Gets the enumerator.
public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

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

Creates an HTMLOptionsCollection from the children of a Select element.
/// Thrown when one or more arguments have unsupported or illegal values. ///
public HTMLOptionsCollection ( IDomElement parent ) : System
parent IDomElement /// The parent element for this collection. ///
Результат System

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

Returns the specific node at the given zero-based index (gives null if out of range)
public Item ( int index ) : IDomElement
index int /// The zero-based index of the option element. ///
Результат IDomElement

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

Returns the specific node with the given DOMString (i.e., string) id. Returns null if no such named node exists.
/// Thrown when the requested operation is unimplemented. ///
public NamedItem ( string name ) : IDomElement
name string /// The zero-based index of the option element. ///
Результат IDomElement