IVsUserSettingsMigration.MigrateSettings Method
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
- pSettingsReader
Type: Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader
[in] IVsSettingsReader to access configuration information.
- pSettingsWriter
Type: Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter
[in] IVsSettingsWriter to write configuration information.
- 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
- 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.