DownloadItem.resume 方法

[与此页面关联的功能(Windows 媒体播放器 SDK)是旧版功能。 它已被 MediaPlayer 取代。 MediaPlayer 已针对Windows 10和Windows 11进行了优化。 如果可能,Microsoft 强烈建议新代码使用 MediaPlayer 而不是 Windows 媒体播放器 SDK。 如果可能,Microsoft 建议重写使用旧 API 的现有代码以使用新 API。]

注意

本部分介绍专为在线商店使用而设计的功能。 不支持在在线商店上下文之外使用此功能。

resume 方法恢复下载。

语法

DownloadItem.resume()

参数

此方法没有任何参数。

返回值

此方法不返回值。

备注

resume 方法对实时下载没有影响。

要求

要求
版本
Windows Media Player 9 系列或更高版本。
DLL
Wmp.dll

另请参阅

DownloadItem 对象

DownloadItem.pause