AppInstallItem.IsUserInitiated 属性

定义

指示当前应用安装是否由用户启动。

public:
 property bool IsUserInitiated { bool get(); };
bool IsUserInitiated();
public bool IsUserInitiated { get; }
var boolean = appInstallItem.isUserInitiated;
Public ReadOnly Property IsUserInitiated As Boolean

属性值

Boolean

bool

如果当前应用安装是由用户启动的,则为 True;否则为 false。

Windows 要求

要求 说明
应用功能
runFullTrust

适用于