IVsTaskList.UnregisterCustomCategory(VSTASKCATEGORY) Method
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.
Unregisters the specified custom category from the task list.
public:
int UnregisterCustomCategory(Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY catAssigned);
public:
int UnregisterCustomCategory(Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY catAssigned);
int UnregisterCustomCategory(Microsoft::VisualStudio::Shell::Interop::VSTASKCATEGORY catAssigned);
public int UnregisterCustomCategory (Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY catAssigned);
abstract member UnregisterCustomCategory : Microsoft.VisualStudio.Shell.Interop.VSTASKCATEGORY -> int
Public Function UnregisterCustomCategory (catAssigned As VSTASKCATEGORY) As Integer
Parameters
- catAssigned
- VSTASKCATEGORY
[in] The VSTASKCATEGORY enumeration assigned to the custom category from the RegisterCustomCategory(Guid, UInt32, VSTASKCATEGORY[]) method.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.