IPropertyBag
interface persists object
properties to the registry.
Only a small range of property data types are supported, such as integers and strings.
However, a special version of the class allows you to store the values with type information. Any type not supported natively (all types other than strings and integers) are converted to string values when written and back when read.
The class is based on a Don Box sample with an XML Property Bag.
Interface
Name | Description | |
---|---|---|
![]() | GetPropertyBagFromReg | Builds a property bag on top of an existing registry branch. |
![]() | SaveToReg | Saves an IPersistPropertyBag-based object to the registry. |
![]() | LoadFromReg | Loads an IPersistPropertyBag-based object from the registry. |
Source Code Dependencies
Microsoft ATL LibraryDownload Files
![]() | Source Code (3 Kb) |