IVsProfileDataManager.ExportAllSettings(String, IVsSettingsErrorInformation) Methode

Definition

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

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Gilt für