次の方法で共有


IVsUserSettingsMigration.MigrateSettings Method

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

Syntax

'宣言
Function MigrateSettings ( _
    pSettingsReader As IVsSettingsReader, _
    pSettingsWriter As IVsSettingsWriter, _
    pszGuidCategory As String _
) As Integer
'使用
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

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

Permissions

See Also

Reference

IVsUserSettingsMigration Interface

IVsUserSettingsMigration Members

Microsoft.VisualStudio.Shell.Interop Namespace