iAppxBundleWriter 接口 (appxpackaging.h)

为捆绑包提供只写对象模型。

继承

IAppxBundleWriter 接口继承自 IUnknown 接口。 IAppxBundleWriter 还具有以下类型的成员:

方法

IAppxBundleWriter 接口包含以下方法。

 
IAppxBundleWriter::AddPayloadPackage

将新的应用包添加到捆绑包。 (IAppxBundleWriter.AddPayloadPackage)
IAppxBundleWriter::Close

通过在包末尾写入占用空间文件来完成捆绑包,并关闭编写器的输出流。 (IAppxBundleWriter.Close)

注解

可以使用 IAppxBundleFactory 接口的 CreateBundleWriter 方法检索 IAppxBundleWriter 对象。

只能将应用包添加到编写器。 编写器自动生成占用空间文件,例如捆绑包的清单和块映射。

要求

要求
最低受支持的客户端 Windows 8.1 [仅限桌面应用]
最低受支持的服务器 Windows Server 2012 R2 [仅限桌面应用]
目标平台 Windows
标头 appxpackaging.h