AppInstallOptions.PinToDesktopAfterInstall 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 determines whether the product being installed should be pinned to the desktop after installation is complete.
public:
property bool PinToDesktopAfterInstall { bool get(); void set(bool value); };
bool PinToDesktopAfterInstall();
void PinToDesktopAfterInstall(bool value);
public bool PinToDesktopAfterInstall { get; set; }
var boolean = appInstallOptions.pinToDesktopAfterInstall;
appInstallOptions.pinToDesktopAfterInstall = boolean;
Public Property PinToDesktopAfterInstall As Boolean
Property Value
Boolean
bool
True to pin the app to the desktop; 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)
|