JumpList JumpList JumpList JumpList Constructors

定义

重载

JumpList() JumpList() JumpList()

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

JumpList(IEnumerable<JumpItem>, Boolean, Boolean) JumpList(IEnumerable<JumpItem>, Boolean, Boolean) JumpList(IEnumerable<JumpItem>, Boolean, Boolean) JumpList(IEnumerable<JumpItem>, Boolean, Boolean)

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

JumpList() JumpList() JumpList()

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

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

安全性

SecurityCriticalAttribute
需要对直接调用方的完全信任。requires full trust for the immediate caller. 部分受信任的或透明的代码不能使用此成员。This member cannot be used by partially trusted or transparent code.

JumpList(IEnumerable<JumpItem>, Boolean, Boolean) JumpList(IEnumerable<JumpItem>, Boolean, Boolean) JumpList(IEnumerable<JumpItem>, Boolean, Boolean) 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);
[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)

参数

items
IEnumerable<JumpItem>

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

showFrequent
Boolean Boolean Boolean Boolean

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

showRecent
Boolean Boolean Boolean Boolean

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

注解

最近频繁的类别通常包含多个相同的跳转项。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.

安全性

SecurityCriticalAttribute
需要对直接调用方的完全信任。requires full trust for the immediate caller. 部分受信任的或透明的代码不能使用此成员。This member cannot be used by partially trusted or transparent code.

另请参阅

适用于