Share via


PackageExtensionCatalog.FindAll Method

Definition

Provides the list of extensions in the catalog.

public:
 virtual IVectorView<PackageExtension ^> ^ FindAll() = FindAll;
IVectorView<PackageExtension> FindAll();
public IReadOnlyList<PackageExtension> FindAll();
function findAll()
Public Function FindAll () As IReadOnlyList(Of PackageExtension)

Returns

The list of extensions in the catalog. Note that this method returns a list of PackageExtensions, not Packages. You can get the Package for each PackageExtension with PackageExtension.Package.

Remarks

Package extensions are scoped by the <uap17:PackageExtension Name=...> defined in the extension's Package.appxmanifest file. This method returns the list of extensions installed on the machine that match the <uap17:PackageExtension Name=...> defined in the host's Package.appxmanifest file.

You typically call this method when your app launches or resumes from suspension. Then use the events on this class to listen for updates to the extensions in the catalog.

Applies to

See also