Compartir a través de


IVsUserSettingsMigration.MigrateSettings Method

Definition

Migrates user settings.

public:
 int MigrateSettings(Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader ^ pSettingsReader, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter ^ pSettingsWriter, System::String ^ pszGuidCategory);
public:
 int MigrateSettings(Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader ^ pSettingsReader, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter ^ pSettingsWriter, Platform::String ^ pszGuidCategory);
int MigrateSettings(Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader const & pSettingsReader, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter const & pSettingsWriter, std::wstring const & pszGuidCategory);
public int MigrateSettings (Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader pSettingsReader, Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter pSettingsWriter, string pszGuidCategory);
abstract member MigrateSettings : Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader * Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter * string -> int
Public Function MigrateSettings (pSettingsReader As IVsSettingsReader, pSettingsWriter As IVsSettingsWriter, pszGuidCategory As String) As Integer

Parameters

pSettingsReader
IVsSettingsReader

[in] IVsSettingsReader to access configuration information.

pSettingsWriter
IVsSettingsWriter

[in] IVsSettingsWriter to write configuration information.

pszGuidCategory
String

Guid representing settings category.

Returns

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  
);  

Applies to