FileManagerDownload 方法 (String, String, FileOperationHandler, Boolean, Boolean) |
下载文件
命名空间:
Smobiler.Core.RPC
程序集:
Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.651.17422+f85e28ffe3fdebbfe720c8c2dde0db495f1a52ab
语法public void Download(
string resourceId,
string resourcePath,
FileOperationHandler handler,
bool isOpen = false,
bool progressDialog = true
)
Public Sub Download (
resourceId As String,
resourcePath As String,
handler As FileOperationHandler,
Optional isOpen As Boolean = false,
Optional progressDialog As Boolean = true
)
参数
- resourceId
- 类型:SystemString
资源名称 - resourcePath
- 类型:SystemString
资源路径 - handler
- 类型:Smobiler.Core.RPCFileOperationHandler
下载结果回调 - isOpen (Optional)
- 类型:SystemBoolean
是否在下载完成后打开文件 - progressDialog (Optional)
- 类型:SystemBoolean
是否显示进度弹窗
参见