Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
Location
My.Application.SaveMySettingsOnExit Syntax
Dim result As Boolean = My.Application.SaveMySettingsOnExit
or: My.Application.SaveMySettingsOnExit = value
Description
The SaveMySettingsOnExit property indicates whether changes made to entries in the My.Settings object will be saved automatically when the application exits (true) or not (False). You can also modify this property while your application is running. Usage at a Glance
Although you can modify this setting when your application is running, its value will revert to its design-time setting the next time the application is run. To permanently change the value, modify the project's Application Properties and set the "Save My.Settings on Shutdown" as desired. Related Framework Entries
See Also
Application Object, Settings Object |
Категории