JumpList.ShowFrequentCategory 属性

获取或设置一个值,该值指示常用项是否显示在跳转列表中。

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

语法

声明
Public Property ShowFrequentCategory As Boolean
    Get
    Set
public bool ShowFrequentCategory { get; set; }
public:
property bool ShowFrequentCategory {
    bool get ();
    void set (bool value);
}
member ShowFrequentCategory : bool with get, set
function get ShowFrequentCategory () : boolean
function set ShowFrequentCategory (value : boolean)

属性值

类型:System.Boolean
如果常用项显示在跳转列表中,则为 true;否则为 false。默认值为 false。

备注

**“常用”**类别的内容由 Windows shell 管理。 若要在跳转列表中显示常用项,请将 ShowFrequentCategory 属性设置为 true。

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

.NET Framework 安全性

请参见

参考

JumpList 类

Microsoft.Windows.Shell 命名空间