Compartilhar via


IVsUserSettingsMigration.MigrateSettings Method

Migrates user settings.

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

Syntax

'Declaration
Function MigrateSettings ( _
    pSettingsReader As IVsSettingsReader, _
    pSettingsWriter As IVsSettingsWriter, _
    pszGuidCategory As String _
) As Integer
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: String

    Guid representing settings category.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace