Exposes methods for enumerating, getting, and setting property values.
IPropertyStore Members
| Commit |
Saves a property change. |
| GetAt |
Gets a property key from an item's array of properties. |
| GetCount |
Gets the number of properties attached to the file. |
| GetValue |
Gets data for a specific property. |
| SetValue |
Sets a new property value, or replaces or removes an existing value. |
Remarks
These methods can be called at any time after initialization of the property handler but before property changes are written to the file through IPropertyStore::Commit. At any other time, these methods return E_FAIL.
When to Implement
An implementation of this interface is provided by CLSID_InMemoryPropertyStore, as
IPropertyStoreCache. 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.
Interface Information
| Inherits from | IUnknown |
|---|
| Header and IDL files | propsys.h, propsys.idl |
|---|
| Minimum operating systems |
Windows Vista |
|---|