SecondaryTile.FindAllForPackageAsync SecondaryTile.FindAllForPackageAsync SecondaryTile.FindAllForPackageAsync SecondaryTile.FindAllForPackageAsync SecondaryTile.FindAllForPackageAsync Method

Definition

Retrieves a list of secondary tiles created for all of the apps in the package of the calling app.

When an app launches, it should always enumerate its secondary tiles through this method, in case there were any additions or deletions of which it was unaware. When a secondary tile is deleted through the Start screen app bar, Windows simply removes the tile. The app itself is responsible for releasing any resources that were used by the secondary tile. When secondary tiles are copied through the cloud, current tile or badge notifications on the secondary tile, scheduled notifications, push notification channels, and Uniform Resource Identifier (URI) used with periodic notifications are not copied with the secondary tile and must be reset up.

public : static IAsyncOperation<IVectorView<SecondaryTile>> FindAllForPackageAsync()
static IAsyncOperation<IVectorView<SecondaryTile>> FindAllForPackageAsync() const;
public static IAsyncOperation<IReadOnlyList<SecondaryTile>> FindAllForPackageAsync()
Public Shared Function FindAllForPackageAsync() As IAsyncOperation<IReadOnlyList<SecondaryTile>>(Of IVectorView)
Windows.UI.StartScreen.SecondaryTile.findAllForPackageAsync().done( /* Your success and error handlers */ );

Returns

IAsyncOperation<IReadOnlyList<SecondaryTile>> IAsyncOperation<IReadOnlyList<SecondaryTile>> IAsyncOperation<IReadOnlyList<SecondaryTile>>

An enumeration object that allows you to examine the set of tiles.

Remarks

This method returns a collection of tile IDs through an instance of the IAsyncOperation interface. When the asynchronous operation completes successfully, it returns the collection object through a then or done method.