Partager via


IVsFontAndColorCacheManager.ClearCache(Guid) Method

Definition

Clears a given Category's state information from the Fonts and Colors cache.

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

Parameters

rguidCategory
Guid

[in] Specifies the GUID of the Category of Display Items whose cached information is to be cleared.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsFontAndColorCacheManager::ClearCache(  
   [in] REFGUID rguidCategory  
);  

Applies to