State Persistence and the Visual Studio IDE
The Import/Export Settings command on the Tools menu of the integrated development environment (IDE) imports and exports customizations of the Visual Studio environment. The Visual Studio settings APIs in the Visual Studio SDK enable a VSPackage to define one or more settings categories (groups of state variables) to be persisted when a user chooses the Import/Export Settings command.
A GUID uniquely identifies each settings category and is defined in its own registry entry, referred to as a Custom Settings Point.
The standard implementations of the Tools Options pages, the Toolbox, and the Microsoft.VisualStudio.Shell.DialogPage automatically provide support for persistence. The settings API can override the default mechanism. For more information, see Toolbox (Visual Studio SDK), Options Pages, and DialogPage.