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.
Возвращаемое значение
Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.