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

  NameDescription
Public propertyAction
Gets the location to send the form data when the Form is submitted.
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 to use when interpreting this Form.
(Overrides HtmlElement CharEncoding.)
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 propertyElementCount
Gets the number of HtmlElement objects in this Form.
Public propertyEncType
Gets or sets the encoding type for this Form, e.g. "application/x-www-form-urlencoded", "multipart/form-data".
Public propertyExtractWasSuccessful
Gets a value that indicates whether this Form was successfully extracted from a Response using the ExtractForm(Int32) method.
Public propertyId
Gets or sets the value of the "id" attribute for this HTML element.
(Inherited from HtmlElement.)
Public propertyIndex
Gets the zero-based index of this Form within the Response from which it was extracted.
Public propertyIsMultipartForm
Gets a value that indicates whether this is a multi-part form.
Public propertyIsSuccessfulControl
Gets a value that indicates whether this HTML element currently represents a successful control. A successful control is one that is valid for submission, i.e. one that will be sent to the web server when the form is submitted.
(Inherited from HtmlElement.)
Public propertyMethod
Gets the HTTP method that should be used to send this Form to the web server, e.g. GET, POST.
Public propertyMultipartFormBoundary
Gets or sets the string that will be used as the boundary between input elements (including the -- prefix), when encoding this Form as multipart/form-data.
Public propertyName
Gets or sets the value of the "name" attribute for this HTML element.
(Inherited from HtmlElement.)
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