IPropertyStoreCache interface (propsys.h)

Exposes methods that allow a handler to manage various states for each property.


The IPropertyStoreCache interface inherits from IPropertyStore. IPropertyStoreCache also has these types of members:


The IPropertyStoreCache interface has these methods.


Gets the state of a specified property key.

Gets value and state data for a property key.

Sets value and state data for a property key.


This interface also provides the methods of the IPropertyStore interface, from which it inherits.

When to Implement

An implementation of this interface is provided by CLSID_InMemoryPropertyStore. Users should never need to implement it themselves.

CLSID_InMemoryPropertyStore implements IPropertyStoreCache instead of IPropertyStore so that it can store additional state information (PSC_STATE) about each of the properties in the cache. This information can be useful for property handler implementers. It can also be useful in other scenarios where a cache of property values is needed.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header propsys.h