共用方式為


IVsFontAndColorEvents.OnReset(Guid) Method

Definition

Called by the environment whenever the items in the Display Items list are reset to their default values.

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

Parameters

rguidCategory
Guid

[in] Specifies 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 IVsFontAndColorEvents::OnReset(  
   [in] REFGUID rguidCategory  
);  

Applies to