IVsFontAndColorEvents.OnResetToBaseCategory(Guid) Method

Definition

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.

public:
 int OnResetToBaseCategory(Guid % rguidCategory);
public int OnResetToBaseCategory (ref Guid rguidCategory);
abstract member OnResetToBaseCategory : Guid -> int
Public Function OnResetToBaseCategory (ByRef rguidCategory As Guid) As Integer

Parameters

rguidCategory
Guid

[in] Specifies the GUID of the base 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 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.

Applies to