Partager via


Package.IVsUserSettingsMigration.MigrateSettings Method

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Private Function MigrateSettings ( _
    reader As IVsSettingsReader, _
    writer As IVsSettingsWriter, _
    strPageGuid As String _
) As Integer Implements IVsUserSettingsMigration.MigrateSettings
'Utilisation
Dim instance As Package
Dim reader As IVsSettingsReader
Dim writer As IVsSettingsWriter
Dim strPageGuid As String
Dim returnValue As Integer

returnValue = CType(instance, IVsUserSettingsMigration).MigrateSettings(reader, _
    writer, strPageGuid)
int IVsUserSettingsMigration.MigrateSettings(
    IVsSettingsReader reader,
    IVsSettingsWriter writer,
    string strPageGuid
)
private:
virtual int MigrateSettings(
    IVsSettingsReader^ reader, 
    IVsSettingsWriter^ writer, 
    String^ strPageGuid
) sealed = IVsUserSettingsMigration::MigrateSettings
private abstract MigrateSettings : 
        reader:IVsSettingsReader * 
        writer:IVsSettingsWriter * 
        strPageGuid:string -> int 
private override MigrateSettings : 
        reader:IVsSettingsReader * 
        writer:IVsSettingsWriter * 
        strPageGuid:string -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IVsUserSettingsMigration.MigrateSettings(IVsSettingsReader, IVsSettingsWriter, String)

.NET Framework Security

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace