Partager via


Task.Category Property

Gets or sets the task's category.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Déclaration
Public Property Category As TaskCategory
    Get
    Set
'Utilisation
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);
}
member Category : TaskCategory with get, set
function get Category () : TaskCategory
function set Category (value : TaskCategory)

Property Value

Type: Microsoft.VisualStudio.Shell.TaskCategory
TaskCategory.

.NET Framework Security

See Also

Reference

Task Class

Task Members

Microsoft.VisualStudio.Shell Namespace