PackageInstallProgress 结构

定义

获取安装资源包或应用包的安装进度。

public value class PackageInstallProgress
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
struct PackageInstallProgress
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public struct PackageInstallProgress
var packageInstallProgress = {
percentComplete : /* Your value */
}
Public Structure PackageInstallProgress
继承
PackageInstallProgress
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

字段

PercentComplete

已安装的包的百分比。

适用于