IVsProfileDataManager.ImportSettings(IVsProfileSettingsTree, IVsSettingsErrorInformation) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Importeinstellungen von einer 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
Parameter
- pSettingsTree
- IVsProfileSettingsTree
[in] Zeiger auf eine IVsProfileSettingsTree-Schnittstelle, die Informationen zu den Profileinstellungen enthält.
- ppsettingsErrorInformation
- IVsSettingsErrorInformation
[out] Zeiger auf eine IVsSettingsErrorInformation-Schnittstelle, die Fehler meldet. Legen Sie den Wert auf null fest, wenn keine Fehler auftreten.
Gibt zurück
Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.