Click or drag to resize

HtmlForm Class

Provides the base implementation for HTML form functionality.
Inheritance Hierarchy

Namespace:  NScrape.Forms
Assembly:  NScrape (in NScrape.dll) Version: 0.4.0.0
Syntax
public abstract class HtmlForm

The HtmlForm type exposes the following members.

Constructors
  NameDescription
Protected methodHtmlForm
Initializes a new instance of the HtmlForm class.
Top
Properties
  NameDescription
Protected propertyActionUrl
Gets the action URL of the form.
Protected propertyAttributes
Gets the attributes of the form.
Protected propertyControls
Gets the controls contained within the HTML form.
Public propertyFormUrl
Gets the URL of the page where the form is located.
Protected propertyHtml
Gets the HTML text of the page containing the form.
Protected propertySubmitAsXmlHttpRequest
Gets or sets a value indicating whether the form submission shall attempt to mimic a JQuery request.
Protected propertyWebClient
Gets the web client used to request and submit the form.
Top
Methods
  NameDescription
Protected methodBuildAspxPostBackRequest
Builds the request data to be used to submit an ASPX form.
Protected methodBuildRequest
Builds the request data to be used to submit an HTML form.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoad(Uri, HtmlFormDefinition)
Loads the form specified by the provided form definition.
Public methodLoad(Uri, KeyValuePairString, String)
Loads the form specified by identifying attribute on the page at the specified URL.
Public methodLoad(Uri, Int32)
Loads the form specified by ordinal on the page at the specified URL.
Public methodLoad(Uri, String, KeyValuePairString, String)
Loads the form specified by identifying attribute in the provided HTML.
Public methodLoad(Uri, String, Int32)
Loads the form specified by ordinal in the provided HTML.
Public methodLoad(Uri, String, String) Obsolete.
Loads the form specified by identifying attributes on the page at the specified URL.
Public methodLoad(Uri, String, String, String) Obsolete.
Loads the form specified by identifying attributes in the provided HTML.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSubmitHtmlRequest
Submits the form, specifying the request data.
Protected methodSubmitRedirectRequest
Submits the form, specifying the request data.
Protected methodSubmitRequest(String, WebResponseType)
Submits the form, specifying the request data and the expected response type.
Protected methodSubmitRequest(String, WebResponseType)
Submits the form, specifying the request data and a range of valid response types.
Protected methodSubmitRequest(String, Boolean, WebResponseType)
Submits the form, specifying the request data, redirection action, and the expected response type.
Protected methodSubmitRequest(String, Boolean, WebResponseType)
Submits the form, specifying the request data, redirection action, and a range of valid response types.
Public methodToString (Inherited from Object.)
Top
See Also