IVsProfileDataManager.ExportAllSettings(String, 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.
Alle Einstellungen in eine Datei exportieren.
public:
int ExportAllSettings(System::String ^ bstrFilePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation ^ % ppsettingsErrorInformation);
public:
int ExportAllSettings(Platform::String ^ bstrFilePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation ^ & ppsettingsErrorInformation);
int ExportAllSettings(std::wstring const & bstrFilePath, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsSettingsErrorInformation const & & ppsettingsErrorInformation);
public int ExportAllSettings (string bstrFilePath, out Microsoft.VisualStudio.Shell.Interop.IVsSettingsErrorInformation ppsettingsErrorInformation);
abstract member ExportAllSettings : string * IVsSettingsErrorInformation -> int
Public Function ExportAllSettings (bstrFilePath As String, ByRef ppsettingsErrorInformation As IVsSettingsErrorInformation) As Integer
Parameter
- bstrFilePath
- String
[in] Zeichenfolge mit dem Pfad und dem Namen der Datei, um zum Speichern von Einstellungen verwendet werden soll.
- 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.