AppInstallOptions.Repair Property

Definition

Gets or sets a value that indicates whether to attempt to repair the installation of an app that is already installed.

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

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

Property Value

Boolean

bool

True to attempt to repair the installation of an app that is already installed; otherwise, false.

Windows requirements

App capabilities
runFullTrust

Applies to