Persistable Property (VB6 Only) |
Description
Only available when the class is part of an ActiveX DLL project that is both public and createable, this property determines whether the class can be saved to disk. This property is only available at design time.
Values
NotPersistable
The class properties can't be saved.
Persistable
The class property values can be saved to a property bag.
Programming Tips and Gotchas
If the property value is set to Persistable, four procedures—the InitProperties, ReadProperties, and WriteProperties events, and the PropertyChanged method—are automatically added to the class module.
See Also
Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.