Share via


AppInstallOptions.PinToStartAfterInstall Property

Definition

Gets or sets a value that indicates whether the product being installed should be pinned to the Start menu after installation is complete.

public:
 property bool PinToStartAfterInstall { bool get(); void set(bool value); };
bool PinToStartAfterInstall();

void PinToStartAfterInstall(bool value);
public bool PinToStartAfterInstall { get; set; }
var boolean = appInstallOptions.pinToStartAfterInstall;
appInstallOptions.pinToStartAfterInstall = boolean;
Public Property PinToStartAfterInstall As Boolean

Property Value

Boolean

bool

True to pin the app to the Start menu; 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