Share via


IProfileManager.SaveSettingsToStorage Method

Definition

Writes a VSPackage's configuration to local storage (typically the registry) following state update.

public:
 void SaveSettingsToStorage();
public:
 void SaveSettingsToStorage();
void SaveSettingsToStorage();
public void SaveSettingsToStorage ();
abstract member SaveSettingsToStorage : unit -> unit
Public Sub SaveSettingsToStorage ()

Remarks

An implementation of the SaveSettingsToStorage method needs to obtain access to the VSPackage it supports so it can obtain the state of the VSPackage.

This method is called by the Visual Studio environment when a user chooses the Import/Export Settings command on the Tools menu to retrieve Visual Studio state.

For Visual Studio settings export operations, this method is called after LoadSettingsFromXml to update the VSPackage with the retrieved information and save it in local storage (typically the registry).

Applies to