Click or drag to resize

BasicHtmlForm Class

Represents a basic HTML form that should do the trick in most cases.
Inheritance Hierarchy

Namespace:  NScrape.Forms
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
public class BasicHtmlForm : BasicForm

The BasicHtmlForm type exposes the following members.

Constructors
  NameDescription
Public methodBasicHtmlForm
Initializes a new instance of the BasicHtmlForm class.
Top
Properties
  NameDescription
Protected propertyActionUrl
Gets the action URL of the form.
(Inherited from HtmlForm.)
Public propertyAllControls
Gets all HTML controls contained within the form.
(Inherited from BasicForm.)
Protected propertyAttributes
Gets the attributes of the form.
(Inherited from HtmlForm.)
Public propertyCheckBoxControls
Gets the HTML input checkbox controls contained within the form.
(Inherited from BasicForm.)
Protected propertyControls
Gets the controls contained within the HTML form.
(Inherited from HtmlForm.)
Public propertyFormUrl
Gets the URL of the page where the form is located.
(Inherited from HtmlForm.)
Protected propertyHtml
Gets the HTML text of the page containing the form.
(Inherited from HtmlForm.)
Public propertyInputControls
Gets the HTML input controls contained within the form.
(Inherited from BasicForm.)
Public propertyRadioControls
Gets the HTML input radio controls contained within the form.
(Inherited from BasicForm.)
Public propertySelectControls
Gets the HTML select controls contained within the form.
(Inherited from BasicForm.)
Protected propertySubmitAsXmlHttpRequest
Gets or sets a value indicating whether the form submission shall attempt to mimic a JQuery request.
(Inherited from HtmlForm.)
Public propertyTextAreaControls
Gets the HTML textarea controls contained within the form.
(Inherited from BasicForm.)
Protected propertyWebClient
Gets the web client used to request and submit the form.
(Inherited from HtmlForm.)
Top
Methods
  NameDescription
Protected methodBuildAspxPostBackRequest
Builds the request data to be used to submit an ASPX form.
(Inherited from HtmlForm.)
Protected methodBuildRequest
Builds the request data to be used to submit an HTML form.
(Inherited from HtmlForm.)
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.
(Inherited from HtmlForm.)
Public methodLoad(Uri, KeyValuePairString, String)
Loads the form specified by identifying attribute on the page at the specified URL.
(Inherited from HtmlForm.)
Public methodLoad(Uri, Int32)
Loads the form specified by ordinal on the page at the specified URL.
(Inherited from HtmlForm.)
Public methodLoad(Uri, String, KeyValuePairString, String)
Loads the form specified by identifying attribute in the provided HTML.
(Inherited from HtmlForm.)
Public methodLoad(Uri, String, Int32)
Loads the form specified by ordinal in the provided HTML.
(Inherited from HtmlForm.)
Public methodLoad(Uri, String, String) Obsolete.
Loads the form specified by identifying attributes on the page at the specified URL.
(Inherited from HtmlForm.)
Public methodLoad(Uri, String, String, String) Obsolete.
Loads the form specified by identifying attributes in the provided HTML.
(Inherited from HtmlForm.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSubmit
Submits the form to the server.
Protected methodSubmitHtmlRequest
Submits the form, specifying the request data.
(Inherited from HtmlForm.)
Protected methodSubmitRedirectRequest
Submits the form, specifying the request data.
(Inherited from HtmlForm.)
Protected methodSubmitRequest(String, WebResponseType)
Submits the form, specifying the request data and the expected response type.
(Inherited from HtmlForm.)
Protected methodSubmitRequest(String, WebResponseType)
Submits the form, specifying the request data and a range of valid response types.
(Inherited from HtmlForm.)
Protected methodSubmitRequest(String, Boolean, WebResponseType)
Submits the form, specifying the request data, redirection action, and the expected response type.
(Inherited from HtmlForm.)
Protected methodSubmitRequest(String, Boolean, WebResponseType)
Submits the form, specifying the request data, redirection action, and a range of valid response types.
(Inherited from HtmlForm.)
Public methodToString (Inherited from Object.)
Top
Remarks
If you need additional or specialized functionality, you can create a form class that inherits from BasicForm or HtmlForm.
See Also