Manager. Request Pin Current App Async Method
Requests that the currently active application be pinned to the taskbar.
public: virtual IAsyncOperation<bool> ^ RequestPinCurrentAppAsync() = RequestPinCurrentAppAsync;
/// [Windows.Foundation.Metadata.RemoteAsync] IAsyncOperation<bool> RequestPinCurrentAppAsync();
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<bool> RequestPinCurrentAppAsync();
Public Function RequestPinCurrentAppAsync () As IAsyncOperation(Of Boolean)
A boolean representing whether the application was successfully pinned to the takbar. If the app was already pinned, this will immediately return true.
Calling this method will display a dialog asking the user to confirm that they want to pin the app. If the user selects "no", this method will return false.