HtmlFormBuildRequest Method |
Builds the request data to be used to submit an HTML form.
Namespace:
NScrape.Forms
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax protected string BuildRequest(
string submitButtonName = null
)
Protected Function BuildRequest (
Optional submitButtonName As String = Nothing
) As String
protected:
String^ BuildRequest(
String^ submitButtonName = nullptr
)
member BuildRequest :
?submitButtonName : string
(* Defaults:
let _submitButtonName = defaultArg submitButtonName null
*)
-> string
Parameters
- submitButtonName (Optional)
- Type: SystemString
Contains the name attribute of the submit button or image.
Return Value
Type:
StringThe request data in
application/x-www-form-urlencoded format.
Remarks
When the form has multiple submit buttons/images, specify which one should be used; otherwise, for forms with a
single submit button/image, the parameter may be omitted.
The values of any
disabled controls are omitted.
See Also