Compartir a través de


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)

Syntax

'Declaration
Function GetSettingsForExport ( _
    <OutAttribute> ByRef ppSettingsTree As IVsProfileSettingsTree _
) As Integer
int GetSettingsForExport(
    out IVsProfileSettingsTree ppSettingsTree
)
int GetSettingsForExport(
    [OutAttribute] IVsProfileSettingsTree^% ppSettingsTree
)
abstract GetSettingsForExport : 
        ppSettingsTree:IVsProfileSettingsTree byref -> int
function GetSettingsForExport(
    ppSettingsTree : IVsProfileSettingsTree
) : int

Parameters

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsProfileDataManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace