Provides an object with a property bag in which the object can save its properties persistently.
Read Tells the property bag to read the named property into a caller-initialized VARIANT. Write Tells the property bag to save the named property in a caller-initialized VARIANT.
To read a property in IPersistPropertyBag::Load, the object calls IPropertyBag::Read. When the object saves properties in IPersistPropertyBag::Save, it calls IPropertyBag::Write. Each property is described with a name, whose value is stored in a VARIANT. This information allows a client to save the property values as text, for example; which is the primary reason why a client might choose to support IPersistPropertyBag.
The client records errors that occur during Read in the supplied error log.
Stock Implementation None Custom Implementation Yes Inherits from IUnknown Header and IDL files Ocidl.h, Ocidl.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0