共用方式為


IVsProfileDataManager.GetSettingsForExport(IVsProfileSettingsTree) Method

Definition

Retrieves the settings information in a form ready for export.

public:
 int GetSettingsForExport([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ % ppSettingsTree);
public:
 int GetSettingsForExport([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree ^ &  ppSettingsTree);
int GetSettingsForExport([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProfileSettingsTree const & & ppSettingsTree);
public int GetSettingsForExport (out Microsoft.VisualStudio.Shell.Interop.IVsProfileSettingsTree ppSettingsTree);
abstract member GetSettingsForExport : IVsProfileSettingsTree -> int
Public Function GetSettingsForExport (ByRef ppSettingsTree As IVsProfileSettingsTree) As Integer

Parameters

ppSettingsTree
IVsProfileSettingsTree

[out] Pointer to an IVsProfileSettingsTree interface containing the settings information.

Returns

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

Remarks

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

COM Signature

From vsshell80.idl:

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

Applies to