JumpItem.CustomCategory Property
Gets or sets the name of the category the JumpItem is grouped with in the Windows 7 taskbar Jump List.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Property CustomCategory As String
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)
Property Value
Type: System.String
The name of the category the JumpItem is grouped with. The default is nulla null reference (Nothing in Visual Basic).
Remarks
If the CustomCategory property is nulla null reference (Nothing in Visual Basic) or Empty, the item is added to the Tasks category. If a value is specified, the item is added to a category that uses the specified name. Items in custom categories can be pinned to the Jump List by the user. When an item is pinned, it moves to an automatic category called Pinned. The user can also remove items from the Jump List.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.