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
)
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.StringGuid 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
);
Permissions
- 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.
See Also
Reference
IVsUserSettingsMigration Interface