AppInstallerInfo.OnLaunch 屬性

定義

取得布林值,指定部署服務是否會在應用程式啟動時檢查應用程式安裝程式檔案的更新。

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

屬性值

Boolean

bool

如果部署服務會在啟動時檢查更新,則為 True;否則為 false。

Windows 需求

裝置系列
Windows 11 (已於 10.0.22000.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v14.0 引進)

備註

這個屬性相當於 App Installer 檔案架構的 OnLaunch 元素。

適用於