使用英语阅读

通过


PackageCatalog.RemoveResourcePackagesAsync(IIterable<Package>) 方法

定义

从现有应用包中删除资源包。

public:
 virtual IAsyncOperation<PackageCatalogRemoveResourcePackagesResult ^> ^ RemoveResourcePackagesAsync(IIterable<Package ^> ^ resourcePackages) = RemoveResourcePackagesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PackageCatalogRemoveResourcePackagesResult> RemoveResourcePackagesAsync(IIterable<Package> const& resourcePackages);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PackageCatalogRemoveResourcePackagesResult> RemoveResourcePackagesAsync(IEnumerable<Package> resourcePackages);
function removeResourcePackagesAsync(resourcePackages)
Public Function RemoveResourcePackagesAsync (resourcePackages As IEnumerable(Of Package)) As IAsyncOperation(Of PackageCatalogRemoveResourcePackagesResult)

参数

resourcePackages

IIterable<Package>

IEnumerable<Package>

要删除的 resourcePackage 的可迭代集合。

返回

尝试删除指定 resourcePackage 的结果。

属性

Windows 要求

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

适用于