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);
}
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for