JumpList Constructors

Definition

初始化 JumpList 类的新实例。Initializes a new instance of the JumpList class.

Overloads

JumpList()

初始化 JumpList 类的新实例。Initializes a new instance of the JumpList class.

JumpList(IEnumerable<JumpItem>, Boolean, Boolean)

使用指定的参数初始化 JumpList 类的新实例。Initializes a new instance of the JumpList class with the specified parameters.

JumpList()

初始化 JumpList 类的新实例。Initializes a new instance of the JumpList class.

public:
 JumpList();
public JumpList ();
[System.Security.SecurityCritical]
public JumpList ();
Public Sub New ()
Attributes

JumpList(IEnumerable<JumpItem>, Boolean, Boolean)

使用指定的参数初始化 JumpList 类的新实例。Initializes a new instance of the JumpList class with the specified parameters.

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]
public JumpList (System.Collections.Generic.IEnumerable<System.Windows.Shell.JumpItem> items, bool showFrequent, bool showRecent);
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)

Parameters

items
IEnumerable<JumpItem>

在跳转列表中显示的 JumpItem 对象的集合。The collection of JumpItem objects that are displayed in the Jump List.

showFrequent
Boolean

一个指示常用项是否显示在跳转列表中的值。A value that indicates whether frequently used items are displayed in the Jump List.

showRecent
Boolean

一个指示最近使用的项是否显示在跳转列表中的值。A value that indicates whether recently used items are displayed in the Jump List.

Attributes

Remarks

最近频繁的类别通常包含多个相同的跳转项。The Recent and Frequent categories often contain many of the same jump items. 因此,应用程序通常会在跳转列表中显示 "最近" 或 "常用" 类别,但不能同时显示两者。As a result, applications typically display either the Recent or the Frequent category in the Jump List, but not both.

See also

Applies to