External.DownloadManager

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

注意

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

DownloadManager 属性检索 DownloadManager 对象。

window.external.DownloadManager
      

可能的值

此属性是只读 的 DownloadManager 对象。

备注

在 Windows 媒体播放器 10 或更高版本中,DownloadManager 属性和对象只能从在线商店服务任务窗格访问。 不能从外部对象可用的其他功能(如 HTMLView、信息中心视图和相册信息)使用 DownloadManager

要求

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

另请参阅

类型 2 在线商店的外部对象