IVsFontAndColorStorage::RemoveCategory Method (Guid)

 

Deletes saved data for a Category from the registry.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int RemoveCategory(
	[InAttribute] Guid% rguidCategory
)

Parameters

rguidCategory
Type: System::Guid

[in] The GUID of the Category.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsFontAndColorStorage::RemoveCategory(
   [in] REFGUID rguidCategory
);

This method provides an easy way to revert the settings of a Category to their default values.

If a Category is open, IVsFontAndColorStorage.RemoveCategory will attempt to close the Category before returning it to its original state.

Return to top
Show: