StartScreenManager 類別

定義

代表 [開始] 畫面管理員物件。

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

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 新增值
1809 17763 ContainsSecondaryTileAsync
1809 17763 TryRemoveSecondaryTileAsync

屬性

User

取得與目前開始畫面相關聯的使用者。

方法

ContainsAppListEntryAsync(AppListEntry)

檢查應用程式目前是否已釘選到 [開始] 畫面。

ContainsSecondaryTileAsync(String)

檢查指定的次要磚是否已釘選到 [開始]。

GetDefault()

取得目前的開始畫面管理員。

GetForUser(User)

取得特定使用者的 [開始] 畫面管理員。

RequestAddAppListEntryAsync(AppListEntry)

將應用程式釘選到目前 [開始] 畫面的要求。 視裝置系列而定,這必須在 UI 執行緒上呼叫,並顯示對話方塊,要求使用者確認他們想要釘選應用程式。

SupportsAppListEntry(AppListEntry)

檢查應用程式是否可以釘選到目前的 [開始] 畫面。

TryRemoveSecondaryTileAsync(String)

嘗試從 [開始] 移除指定的次要磚。

適用於