JumpList 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 JumpList 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| JumpList() |
初始化 JumpList 類別的新執行個體。 |
| JumpList(IEnumerable<JumpItem>, Boolean, Boolean) |
初始化一個新的類別實例 JumpList ,並以指定參數進行。 |
JumpList()
初始化 JumpList 類別的新執行個體。
public:
JumpList();
[System.Security.SecurityCritical]
public JumpList();
public JumpList();
Public Sub New ()
- 屬性
適用於
JumpList(IEnumerable<JumpItem>, Boolean, Boolean)
初始化一個新的類別實例 JumpList ,並以指定參數進行。
public:
JumpList(System::Collections::Generic::IEnumerable<System::Windows::Shell::JumpItem ^> ^ items, bool showFrequent, bool showRecent);
[System.Security.SecurityCritical]
public JumpList(System.Collections.Generic.IEnumerable<System.Windows.Shell.JumpItem> items, bool showFrequent, bool showRecent);
public JumpList(System.Collections.Generic.IEnumerable<System.Windows.Shell.JumpItem> items, bool showFrequent, bool showRecent);
[<System.Security.SecurityCritical>]
new System.Windows.Shell.JumpList : seq<System.Windows.Shell.JumpItem> * bool * bool -> System.Windows.Shell.JumpList
new System.Windows.Shell.JumpList : seq<System.Windows.Shell.JumpItem> * bool * bool -> System.Windows.Shell.JumpList
Public Sub New (items As IEnumerable(Of JumpItem), showFrequent As Boolean, showRecent As Boolean)
參數
- items
- IEnumerable<JumpItem>
跳躍清單中顯示的物件集合 JumpItem 。
- showFrequent
- Boolean
一個表示跳躍清單中是否顯示頻繁使用的項目的數值。
- showRecent
- Boolean
一個表示最近使用的項目是否顯示在跳轉清單中的值。
- 屬性
備註
最近和頻繁類別通常包含許多相同的跳躍物品。 因此,應用程式通常會在跳轉清單中顯示 「最近」 或 「頻繁」 類別,而不會同時顯示兩者。