SharedPackageContainer.RemovePackageFamily 方法

定义

从共享包容器中删除指定的包系列名称。

public:
 virtual UpdateSharedPackageContainerResult ^ RemovePackageFamily(Platform::String ^ packageFamilyName, UpdateSharedPackageContainerOptions ^ options) = RemovePackageFamily;
UpdateSharedPackageContainerResult RemovePackageFamily(winrt::hstring const& packageFamilyName, UpdateSharedPackageContainerOptions const& options);
public UpdateSharedPackageContainerResult RemovePackageFamily(string packageFamilyName, UpdateSharedPackageContainerOptions options);
function removePackageFamily(packageFamilyName, options)
Public Function RemovePackageFamily (packageFamilyName As String, options As UpdateSharedPackageContainerOptions) As UpdateSharedPackageContainerResult

参数

packageFamilyName
String

Platform::String

winrt::hstring

要从容器中删除的包的包系列名称。

options
UpdateSharedPackageContainerOptions

一个 UpdateSharedPackageContainerOptions 对象,该对象指定创建操作的选项。

返回

一个 UpdateSharedPackageContainerResult ,提供有关删除包操作的状态信息。

适用于