Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Unregisters the specified custom category from the task list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UnregisterCustomCategory ( _
catAssigned As VSTASKCATEGORY _
) As Integer
int UnregisterCustomCategory(
VSTASKCATEGORY catAssigned
)
int UnregisterCustomCategory(
[InAttribute] VSTASKCATEGORY catAssigned
)
abstract UnregisterCustomCategory :
catAssigned:VSTASKCATEGORY -> int
function UnregisterCustomCategory(
catAssigned : VSTASKCATEGORY
) : int
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.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.