共用方式為


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

取得或設定尋找作業所使用的封裝系列名稱。 包含指定套件系列名稱的容器會包含在尋找結果中。

適用於