This documentation is archived and is not being maintained.

IVsProfileDataManager.GetSettingsForExport Method

Retrieves the settings information in a form ready for export.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetSettingsForExport(
	out IVsProfileSettingsTree ppSettingsTree


Type: Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree
[out] Pointer to an IVsProfileSettingsTree interface containing the settings information.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

To export the settings, pass the retrieved IVsProfileSettingsTree to the ExportSettings method.

COM Signature

From vsshell80.idl:

HRESULT IVsProfileDataManager::GetSettingsForExport(
   [out] IVsProfileSettingsTree **ppSettingsTree