IVsTaskList::UnregisterCustomCategory Method (VSTASKCATEGORY)
Visual Studio 2015
Unregisters the specified custom category from the task list.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- catAssigned
-
Type:
Microsoft.VisualStudio.Shell.Interop::VSTASKCATEGORY
[in] The VSTASKCATEGORY enumeration assigned to the custom category from the RegisterCustomCategory method.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTaskList::UnregisterCustomCategory(
[in] VSTASKCATEGORY catAssigned
);
Unregister your custom categories when you no longer need them so that their sort position is freed in the VSTASKCATEGORY enumeration.
Show: