Share via


AppInstallOptions.InstallForAllUsers Property

Definition

Gets or sets a value that indicates whether the application will be installed for all users.

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

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

Property Value

Boolean

bool

True to install the application for all users; false to install the application for the current user only.

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