IVsProfileDataManager.ImportSettings(IVsProfileSettingsTree, IVsSettingsErrorInformation) Метод

Определение

Импортируйте параметры из 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

Параметры

pSettingsTree
IVsProfileSettingsTree

[in] Указатель на интерфейс IVsProfileSettingsTree, содержащий сведения о параметрах профиля.

ppsettingsErrorInformation
IVsSettingsErrorInformation

[out] Указатель на интерфейс IVsSettingsErrorInformation, сообщающий о любых ошибках. При отсутствии ошибок присвойте значение null.

Возвращаемое значение

Int32

Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.

Применяется к