IVsProfileDataManager.ImportSettings(IVsProfileSettingsTree, IVsSettingsErrorInformation) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Importe as configurações de um 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
Parâmetros
- pSettingsTree
- IVsProfileSettingsTree
no Ponteiro para uma IVsProfileSettingsTree interface que contém as informações de configurações de perfil.
- ppsettingsErrorInformation
- IVsSettingsErrorInformation
fora Ponteiro para uma IVsSettingsErrorInformation interface que relata quaisquer erros. Defina como null se não houver erros.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.