Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPropertyStoreCache interface

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

Members

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

Methods

The IPropertyStoreCache interface has these methods.

MethodDescription
GetState

Gets the state of a specified property key.

GetValueAndState

Gets value and state data for a property key.

SetState

Sets the property state of a specified property key.

SetValueAndState

Sets value and state data for a property key.

 

Remarks

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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Propsys.h

IDL

Propsys.idl

 

 

Community Additions

Show:
© 2014 Microsoft. All rights reserved.