BasicHtmlFormSubmit Method |
Submits the form to the server.
Namespace:
NScrape.Forms
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax public WebResponse Submit(
string submitButtonName = null
)
Public Function Submit (
Optional submitButtonName As String = Nothing
) As WebResponse
public:
WebResponse^ Submit(
String^ submitButtonName = nullptr
)
member Submit :
?submitButtonName : string
(* Defaults:
let _submitButtonName = defaultArg submitButtonName null
*)
-> WebResponse
Parameters
- submitButtonName (Optional)
- Type: SystemString
Contains the name attribute of the submit button or image.
Return Value
Type:
WebResponseThe server response.
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.
See Also