Megosztás a következőn keresztül:


IPackageCatalogStatics2 Interface

Definition

Defines a package catalog which implements the OpenForPackage static method.

public interface class IPackageCatalogStatics2
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.Guid(1276232025, 39464, 22924, 177, 133, 85, 225, 137, 155, 43, 228)]
struct IPackageCatalogStatics2
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.Guid(1276232025, 39464, 22924, 177, 133, 85, 225, 137, 155, 43, 228)]
public interface IPackageCatalogStatics2
Public Interface IPackageCatalogStatics2
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Methods

OpenForPackage(Package)

Allows listening to any Package and its dependents (optional, resource, and hostRuntime).

Applies to