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

Definition

Migrates settings from a previous version.

int IVsUserSettingsMigration.MigrateSettings (Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader reader, Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter writer, string strPageGuid);
Function MigrateSettings (reader As IVsSettingsReader, writer As IVsSettingsWriter, strPageGuid As String) As Integer Implements IVsUserSettingsMigration.MigrateSettings
Parameters
reader
IVsSettingsReader IVsSettingsReader

The settings reader.

writer
IVsSettingsWriter IVsSettingsWriter

The settings writer.

strPageGuid
String String

The GUID of the settings category.

Returns

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

Remarks

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

Applies to