共用方式為


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,提供移除封裝作業的狀態資訊。

適用於