IVsUserSettingsMigration.MigrateSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);