JumpList 建構函式

定義

初始化 JumpList 類別的新執行個體。

多載

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

值,指出是否在跳躍清單中顯示最近使用的項目。

屬性

備註

[最近] 和 [頻繁] 類別通常包含許多相同的跳躍專案。 因此,應用程式通常會在跳躍清單中顯示 [最近] 或 [ 常用 ] 類別,但不會同時顯示兩者。

另請參閱

適用於