AppExtensionCatalog.FindAll Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a read-only list of extensions in the catalog.
public:
virtual IVectorView<AppExtension ^> ^ FindAll() = FindAll;
IVectorView<AppExtension> FindAll();
public IReadOnlyList<AppExtension> FindAll();
function findAll()
Public Function FindAll () As IReadOnlyList(Of AppExtension)
Returns
The list of extensions in the catalog.
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
Remarks
Note that this method returns a read-only list of AppExtensions, not Packages. You can get the Package for each AppExtension with AppExtension.Package.
Extensions are scoped by the <uap3:AppExtension Name=...>
defined in the extension's Package.appxmanifest file. This method returns the list of extensions installed on the machine that match the <uap3:AppExtension 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.