Package.IVsUserSettingsMigration.MigrateSettings Method (IVsSettingsReader, IVsSettingsWriter, String)

 

Migrates settings from a previous version.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

int IVsUserSettingsMigration.MigrateSettings(
	IVsSettingsReader reader,
	IVsSettingsWriter writer,
	string strPageGuid
)

Parameters

reader
Type: Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader

The settings reader.

writer
Type: Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter

The settings writer.

strPageGuid
Type: System.String

The GUID of the settings category.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method implements the IVsUserSettingsMigration interface used to bring forward user settings from a previous version.

Return to top
Show: