TaskItem.Category Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the category.
public:
property System::String ^ Category { System::String ^ get(); };
public string Category { get; }
member this.Category : string
Public ReadOnly Property Category As String
Property Value
The category.
Examples
The following example searches the list of task items for all tasks in the Performance category.
foreach (TaskItem item in items) {
if ((item is MethodTaskItem) && item.Category == sPerformance)
Trace.WriteLine(item.Description + " Category: " + item.Category);
}