Description
Suspends the download progress of the file.
Applies to
WebBrowser controls
Syntax
controlname.PauseDownload ( integer ItemId )
Argument |
Description |
---|---|
controlname |
The name of the WebBrowser control. |
ItemId |
The ID used to identify the file. The minimum value is 1. ItemId should be the return value of DownloadingStart
or |
Return value
Integer.
-
1 -- Success.
-
-2 -- Failed to get the browser instance.
-
-6 -- The specified download task does not exist.
Examples
Integer li_rtn, li_itemid li_rtn = wb_1.pausedownload(li_itemid)
See also