Share via


IVsProfileDataManager.ImportSettings Method

Definition

Import settings from an IVsProfileSettingsTree.

public:
 int ImportSettings(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ pSettingsTree, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation ^ % ppsettingsErrorInformation);
public:
 int ImportSettings(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ pSettingsTree, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation ^ &  ppsettingsErrorInformation);
int ImportSettings(Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree const & pSettingsTree, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation const & & ppsettingsErrorInformation);
public int ImportSettings (Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree pSettingsTree, out Microsoft.VisualStudio.Shell.Interop.IVsSettingsErrorInformation ppsettingsErrorInformation);
abstract member ImportSettings : Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree * IVsSettingsErrorInformation -> int
Public Function ImportSettings (pSettingsTree As IVsProfileSettingsTree, ByRef ppsettingsErrorInformation As IVsSettingsErrorInformation) As Integer

Parameters

pSettingsTree
IVsProfileSettingsTree

[in] Pointer to an IVsProfileSettingsTree interface containing the profile settings information.

ppsettingsErrorInformation
IVsSettingsErrorInformation

[out] Pointer to an IVsSettingsErrorInformation interface reporting any errors. Set to null if there are no errors.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to