TaskbarManager.RequestPinAppListEntryAsync(AppListEntry) Méthode

Définition

Demande que l’application spécifiée soit épinglée à la barre des tâches.

public:
 virtual IAsyncOperation<bool> ^ RequestPinAppListEntryAsync(AppListEntry ^ appListEntry) = RequestPinAppListEntryAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestPinAppListEntryAsync(AppListEntry const& appListEntry);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestPinAppListEntryAsync(AppListEntry appListEntry);
function requestPinAppListEntryAsync(appListEntry)
Public Function RequestPinAppListEntryAsync (appListEntry As AppListEntry) As IAsyncOperation(Of Boolean)

Paramètres

appListEntry
AppListEntry

AppListEntry correspondant à l’application à épingler à la barre des tâches.

Retours

Boolean qui indique si l’application a été correctement épinglée au takbar. Si l’application a déjà été épinglée, cela retourne immédiatement true.

Attributs

Remarques

L’appel de cette méthode affiche une boîte de dialogue demandant à l’utilisateur de confirmer qu’il souhaite épingler l’application. Si l’utilisateur sélectionne « non », cette méthode retourne false.

S’applique à