共用方式為


IVsFontAndColorCacheManager.RefreshCache(Guid) Method

Definition

Force the Visual Studio environment to update cached Fonts and Colors information with the current state data of a given Category.

public:
 int RefreshCache(Guid % rguidCategory);
public int RefreshCache (ref Guid rguidCategory);
abstract member RefreshCache : Guid -> int
Public Function RefreshCache (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 updated.

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

Applies to