Sdílet prostřednictvím


AppInstallerInfo.ShowPrompt Property

Definition

Gets a boolean value specifying whether the deployment service will show a prompt informing the user about an update.

public:
 property bool ShowPrompt { bool get(); };
bool ShowPrompt();
public bool ShowPrompt { get; }
var boolean = appInstallerInfo.showPrompt;
Public ReadOnly Property ShowPrompt As Boolean

Property Value

Boolean

bool

True if a prompt will be show; otherwise, false.

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

This property is equivalent to the ShowPrompt attribute of the OnLaunch element of the App Installer file schema.

Applies to