Dela via


PackageCatalog.RemoveResourcePackagesAsync(IIterable<Package>) Method

Definition

Removes resource packages from an existing app 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)

Parameters

resourcePackages

IIterable<Package>

IEnumerable<Package>

An iterable collection of resourcePackages to be removed.

Returns

The result of an attempt to remove the specified resourcePackages.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to