AppInstallItem.PinToDesktopAfterInstall Property

Definition

Gets or sets a value that indicates 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 = appInstallItem.pinToDesktopAfterInstall;
appInstallItem.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)

Applies to