IVsFontAndColorEvents::OnResetToBaseCategory Method (Guid)

 

Called by the environment whenever all of a category's attributes are reset to its alternate set of default values, as specified by its base category.

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

int OnResetToBaseCategory(
	[InAttribute] Guid% rguidCategory
)

Parameters

rguidCategory
Type: System::Guid

[in] Specifies the GUID of the base 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 IVsFontAndColorEvents::OnResetToBaseCategory(
   [in] REFGUID rguidCategory
);

An item listed in the Display Items list can have an alternate set of default values based on a base category set with GetBaseCategory. For example, by default the Display Items list in the Printer category have the Text Editor category as an alternate base category.

Return to top
Show: