AppListEntry 類別

定義

提供應用程式的顯示資訊,例如其顯示名稱和描述,以及啟動應用程式的方法。

public ref class AppListEntry sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppListEntry final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppListEntry
Public NotInheritable Class AppListEntry
繼承
Object Platform::Object IInspectable AppListEntry
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1709 16299 AppUserModelId
1803 17134 LaunchForUserAsync

屬性

AppInfo

提供應用程式的相關資訊,例如其名稱、標誌、套件資訊、識別碼。

AppUserModelId

取得這個 AppListEntry的應用程式使用者模型識別碼 (AUMID)

DisplayInfo

提供應用程式的顯示名稱、描述和標誌。

方法

LaunchAsync()

啟動與此AppListEntry相關聯的應用程式

LaunchForUserAsync(User)

在指定使用者的內容中啟動與此 AppListEntry 相關聯的應用程式。

適用於