FindSharedPackageContainerOptions 类

定义

提供通过调用 SharedPackageContainerManager.FindContainer 创建共享包容器的选项。

public ref class FindSharedPackageContainerOptions sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Deployment.SharedPackageContainerContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Management.Deployment.SharedPackageContainerContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FindSharedPackageContainerOptions final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Management.Deployment.SharedPackageContainerContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Management.Deployment.SharedPackageContainerContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FindSharedPackageContainerOptions
function FindSharedPackageContainerOptions()
Public NotInheritable Class FindSharedPackageContainerOptions
继承
Object Platform::Object IInspectable FindSharedPackageContainerOptions
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.22000.0 中引入)
API contract
Windows.Management.Deployment.SharedPackageContainerContract (在 v1.0 中引入)

构造函数

FindSharedPackageContainerOptions()

初始化 FindSharedPackageContainerOptions 类的新实例。

属性

Name

获取或设置要查找的共享包容器的名称。

PackageFamilyName

获取或设置查找操作使用的包系列名称。 包含指定包系列名称的容器包含在查找结果中。

适用于