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

'宣言
Function GetSettingsForExport ( _
    <OutAttribute> ByRef ppSettingsTree As IVsProfileSettingsTree _
) As Integer
'使用
Dim instance As IVsProfileDataManager
Dim ppSettingsTree As IVsProfileSettingsTree
Dim returnValue As Integer

returnValue = instance.GetSettingsForExport(ppSettingsTree)
int GetSettingsForExport(
    out IVsProfileSettingsTree ppSettingsTree
)
int GetSettingsForExport(
    [OutAttribute] IVsProfileSettingsTree^% ppSettingsTree
)
function GetSettingsForExport(
    ppSettingsTree : IVsProfileSettingsTree
) : int

Parameters

Return Value

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

Permissions

See Also

Reference

IVsProfileDataManager Interface

IVsProfileDataManager Members

Microsoft.VisualStudio.Shell.Interop Namespace