IVsTaskItem2::Category Method (array<VSTASKCATEGORY>^)
Visual Studio 2015
Returns the category of a task item.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pCat
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSTASKCATEGORY>^
[out, retval] Category of the task item. For a list of values, see VSTASKCATEGORY.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTaskItem::Category( [out, retval] VSTASKCATEGORY *pCat );
The category is not shown to the user, but is used for filtering and sorting when switching between different views of the task list.
Show: