Package.IVsUserSettings.ExportSettings(String, IVsSettingsWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method implements the IVsUserSettings Interface used to manage profiles and import/export settings to XML files.
virtual int Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ExportSettings(System::String ^ strPageGuid, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter ^ writer) = Microsoft::VisualStudio::Shell::Interop::IVsUserSettings::ExportSettings;
virtual int Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ExportSettings(Platform::String ^ strPageGuid, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter ^ writer) = Microsoft::VisualStudio::Shell::Interop::IVsUserSettings::ExportSettings;
int Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ExportSettings(std::wstring const & strPageGuid, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter const & writer);
int IVsUserSettings.ExportSettings (string strPageGuid, Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter writer);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ExportSettings : string * Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUserSettings.ExportSettings : string * Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter -> int
Function ExportSettings (strPageGuid As String, writer As IVsSettingsWriter) As Integer Implements IVsUserSettings.ExportSettings
Parameters
- strPageGuid
- String
GUID of the page.
- writer
- IVsSettingsWriter
IVsSettingsWriter object.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.