IVsProfileDataManager.ExportAllSettings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将所有设置导出到文件。
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
参数
- bstrFilePath
- String
中包含要用于保存设置的文件的路径和名称的字符串。
- ppsettingsErrorInformation
- IVsSettingsErrorInformation
弄指向 IVsSettingsErrorInformation 报告任何错误的接口的指针。 如果没有错误,则设置为 null 。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。