Gets or sets the task's category.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Property Category As TaskCategory
'使用
Dim instance As Task
Dim value As TaskCategory
value = instance.Category
instance.Category = value
public TaskCategory Category { get; set; }
public:
property TaskCategory Category {
TaskCategory get ();
void set (TaskCategory value);
}
public function get Category () : TaskCategory
public function set Category (value : TaskCategory)
Property Value
Type: Microsoft.VisualStudio.Shell.TaskCategory
Permissions
- 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.