共用方式為


PackageManager.RemovePackageByUriAsync(Uri, RemovePackageOptions) 方法

定義

public:
 virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ RemovePackageByUriAsync(Uri ^ packageUri, RemovePackageOptions ^ options) = RemovePackageByUriAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> RemovePackageByUriAsync(Uri const& packageUri, RemovePackageOptions const& options);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> RemovePackageByUriAsync(System.Uri packageUri, RemovePackageOptions options);
function removePackageByUriAsync(packageUri, options)
Public Function RemovePackageByUriAsync (packageUri As Uri, options As RemovePackageOptions) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)

參數

packageUri
Uri Uri

傳回

屬性

適用於