JumpList 构造函数 (IEnumerable<JumpItem>, Boolean, Boolean)

使用指定的参数初始化 JumpList 类的新实例。

命名空间:  Microsoft.Windows.Shell
程序集:  Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)

语法

声明
Public Sub New ( _
    items As IEnumerable(Of JumpItem), _
    showFrequent As Boolean, _
    showRecent As Boolean _
)
public JumpList(
    IEnumerable<JumpItem> items,
    bool showFrequent,
    bool showRecent
)
public:
JumpList(
    IEnumerable<JumpItem^>^ items, 
    bool showFrequent, 
    bool showRecent
)
new : 
        items:IEnumerable<JumpItem> * 
        showFrequent:bool * 
        showRecent:bool -> JumpList
public function JumpList(
    items : IEnumerable<JumpItem>, 
    showFrequent : boolean, 
    showRecent : boolean
)

参数

  • showFrequent
    类型:System.Boolean
    一个指示常用项是否显示在跳转列表中的值。
  • showRecent
    类型:System.Boolean
    一个指示最近使用的项是否显示在跳转列表中的值。

备注

**“最近”“经常”类别通常包含许多相同的跳转项。 因此,应用程序通常会在跳转列表中显示“最近”**或 **“常用”**类别,不会同时显示。

.NET Framework 安全性

请参见

参考

JumpList 类

JumpList 重载

Microsoft.Windows.Shell 命名空间

JumpItems

ShowFrequentCategory

ShowRecentCategory