Partager via


IVsUserSettingsMigration.MigrateSettings Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Déclaration
Function MigrateSettings ( _
    pSettingsReader As IVsSettingsReader, _
    pSettingsWriter As IVsSettingsWriter, _
    pszGuidCategory As String _
) As Integer
'Utilisation
Dim instance As IVsUserSettingsMigration
Dim pSettingsReader As IVsSettingsReader
Dim pSettingsWriter As IVsSettingsWriter
Dim pszGuidCategory As String
Dim returnValue As Integer

returnValue = instance.MigrateSettings(pSettingsReader, _
    pSettingsWriter, pszGuidCategory)
int MigrateSettings(
    IVsSettingsReader pSettingsReader,
    IVsSettingsWriter pSettingsWriter,
    string pszGuidCategory
)
int MigrateSettings(
    [InAttribute] IVsSettingsReader^ pSettingsReader, 
    [InAttribute] IVsSettingsWriter^ pSettingsWriter, 
    String^ pszGuidCategory
)
abstract MigrateSettings : 
        pSettingsReader:IVsSettingsReader * 
        pSettingsWriter:IVsSettingsWriter * 
        pszGuidCategory:string -> int 
function MigrateSettings(
    pSettingsReader : IVsSettingsReader, 
    pSettingsWriter : IVsSettingsWriter, 
    pszGuidCategory : String
) : int

Parameters

  • pszGuidCategory
    Type: System.String
    Guid representing settings category.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell90.idl:

HRESULT MigrateSettings(
    [in]IVsSettingsReader *pSettingsReader,
    [in]IVsSettingsWriter* pSettingsWriter,
    LPCWSTR pszGuidCategory
);

.NET Framework Security

See Also

Reference

IVsUserSettingsMigration Interface

IVsUserSettingsMigration Members

Microsoft.VisualStudio.Shell.Interop Namespace