AppInstallOptions.PinToTaskbarAfterInstall Property
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.
Gets or sets a value that indicates whether the product being installed should be pinned to the taskbar after installation is complete.
public:
property bool PinToTaskbarAfterInstall { bool get(); void set(bool value); };
bool PinToTaskbarAfterInstall();
void PinToTaskbarAfterInstall(bool value);
public bool PinToTaskbarAfterInstall { get; set; }
var boolean = appInstallOptions.pinToTaskbarAfterInstall;
appInstallOptions.pinToTaskbarAfterInstall = boolean;
Public Property PinToTaskbarAfterInstall As Boolean
Property Value
Boolean
bool
True to pin the app to the taskbar; otherwise, false.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|