Discuss this help topic in CBFS Forum

CallbackFileSystem.MetaDataCacheEnabled property


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

CallbackFileSystem     See also    


Enables or disables metadata cache.


    property MetaDataCacheEnabled : boolean;

[C++ (Lib)]
    bool GetMetaDataCacheEnabled();
    void SetMetaDataCacheEnabled(BOOL Value);

[C++ (VCL)]
    bool MetaDataCacheEnabled;

[C++ (.NET)]
    bool MetaDataCacheEnabled;

    bool MetaDataCacheEnabled;

    Public Property MetaDataCacheEnabled As Boolean

    boolean getMetaDataCacheEnabled();
    void setMetaDataCacheEnabled(boolean value)


Use this property to enable or disable the metadata cache (it's enabled by default). The cache is used to reduce the number of calls to OnGetFileInfo callback. In certain rare cases, when file attributes are changed from the callback, it's necessary to disable the cache in order for the changes to be reported properly to the OS.

Call from...

The property may be changed at any time but only from outside of callback / event handlers.

See also

FileCacheEnabled property     NonexistentFilesCacheEnabled property    

Discuss this help topic in CBFS Forum