Compartir a través de


IVsProfileDataManager.ExportAllSettings Method

Definition

Exports all settings to a file.

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

Parameters

bstrFilePath
String

[in] String containing the path and name of the file to use for saving the settings.

ppsettingsErrorInformation
IVsSettingsErrorInformation

[out] Pointer to an IVsSettingsErrorInformation interface reporting any errors. Set to null if there are no errors.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to