Επεξεργασία

Κοινή χρήση μέσω


IPersistSerializedPropStorage2 interface (propsys.h)

Exposes methods to persist serialized property storage data for later use and to restore persisted data to a new property store instance.

Inheritance

The IPersistSerializedPropStorage2 interface inherits from IPersistSerializedPropStorage. IPersistSerializedPropStorage2 also has these types of members:

Methods

The IPersistSerializedPropStorage2 interface has these methods.

 
IPersistSerializedPropStorage2::GetPropertyStorageBuffer

Gets the serialized property storage buffer from the property store instance.
IPersistSerializedPropStorage2::GetPropertyStorageSize

Gets the size of serialized property storage data from the property store instance.

Remarks

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

When to Implement

IPersistSerializedPropStorage2 is not intended for custom implementation. Use the system-provided implementation associated with the in-memory property store.

When to Use

The in-memory property store, created by calling PSCreateMemoryPropertyStore, provides an implementation of this interface. Use this implementation when you want to persist or restore serialized property storage data.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header propsys.h