IVsFontAndColorStorage.RemoveCategory(Guid) 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.
Deletes saved data for a Category from the registry.
public:
int RemoveCategory(Guid % rguidCategory);
public int RemoveCategory (ref Guid rguidCategory);
abstract member RemoveCategory : Guid -> int
Public Function RemoveCategory (ByRef rguidCategory As Guid) As Integer
Parameters
- rguidCategory
- Guid
[in] The GUID of the Category.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.