OptionElement PropertiesC# API
The OptionElement type exposes the following members.
Properties

  NameDescription
Public propertyAfterEndTagPosition
Gets the character offset into the HTML document at which the last character (not including < > tag characters) in this HTML element appears.
(Inherited from HtmlElement.)
Public propertyAfterStartTagPosition
Gets the character offset into the HTML document at which the 1st character (not including < > tag characters) in this HTML element appears.
(Inherited from HtmlElement.)
Public propertyAttributes
Gets all the attributes contained in this HtmlElement as an IDictionary of attribute names to values.
(Inherited from HtmlElement.)
Public propertyCharEncoding
Gets or sets the character encoding that is used to decode the data contained in this HtmlElement, for example "UTF-8".
(Inherited from HtmlElement.)
Public propertyContent
Gets or sets the content of this HTML element. This includes everything between the HTML tags, but excludes the tags themselves and any attributes.
(Inherited from HtmlElement.)
Public propertyContentPosition
Gets the character offset into the HTML document at which this HTML element's content starts.
(Inherited from HtmlElement.)
Public propertyDisabled
Gets or sets a value that indicates whether this HTML element has been disabled.
(Inherited from HtmlElement.)
Public propertyId
Gets or sets the value of the "id" attribute for this HTML element.
(Inherited from HtmlElement.)
Public propertyIsSuccessfulControl
Gets a value that indicates whether this OptionElement currently represents a successful control.
(Overrides HtmlElement IsSuccessfulControl.)
Public propertyName
Gets or sets the value of the "name" attribute for this HTML element.
(Inherited from HtmlElement.)
Public propertySelected
Gets or sets a value that indicates whether this OptionElement has been selected.
Public propertyTag
Gets the tag name of this HTML element.
(Inherited from HtmlElement.)
Public propertyValue
Gets or sets the value of the "value" attribute for this HTML element.
(Inherited from HtmlElement.)
Back to Top
See Also