Bagikan melalui


IPackageCatalogStatics2 Antarmuka

Definisi

Mendefinisikan katalog paket yang mengimplementasikan metode statis OpenForPackage.

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
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 11 Insider Preview (diperkenalkan dalam 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v15.0)

Metode

OpenForPackage(Package)

Memungkinkan mendengarkan Paket apa pun dan dependennya (opsional, sumber daya, dan hostRuntime).

Berlaku untuk