JumpItem.CustomCategory 属性

获取或设置在 Windows 7 任务栏跳转列表中对 JumpItem 进行分组所依据的类别的名称。

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

语法

声明
Public Property CustomCategory As String
    Get
    Set
public string CustomCategory { get; set; }
public:
property String^ CustomCategory {
    String^ get ();
    void set (String^ value);
}
member CustomCategory : string with get, set
function get CustomCategory () : String
function set CustomCategory (value : String)

属性值

类型:System.String
JumpItem 进行分组所依据的类别的名称。默认值为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

如果 CustomCategory 属性为 nullnull 引用(在 Visual Basic 中为 Nothing) 或 Empty,则项会添加到任务类别。 如果指定了值,则该项会添加到使用指定名称的类别中。 自定义类别中的项可以被用户固定到跳转列表。 当项被固定时,则它将移动到名为**“固定”**的自动类别。 用户还可以从跳转列表中删除项目。

.NET Framework 安全性

请参见

参考

JumpItem 类

Microsoft.Windows.Shell 命名空间

JumpList

JumpPath

JumpTask