C# 클래스 CsQuery.Implementation.HTMLOptionsCollection

A collection of HTML options.
상속: IHTMLOptionsCollection
파일 보기 프로젝트 열기: prepare/HTML-Renderer

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