共用方式為


AppInstallItem.InstallType 屬性

定義

取得目前應用程式安裝的型別。

public:
 property AppInstallType InstallType { AppInstallType get(); };
AppInstallType InstallType();
public AppInstallType InstallType { get; }
var appInstallType = appInstallItem.installType;
Public ReadOnly Property InstallType As AppInstallType

屬性值

值,指出正在安裝、更新或修復應用程式。

Windows 需求

應用程式功能
runFullTrust

適用於