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
- strPageGuid
Type: System.String
Return Value
Type: System.Int32
Implements
IVsUserSettingsMigration.MigrateSettings(IVsSettingsReader, IVsSettingsWriter, String)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.