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

'Declaración
Function GetSettingsForExport ( _
    <OutAttribute> ByRef ppSettingsTree As IVsProfileSettingsTree _
) As Integer
'Uso
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
)
abstract GetSettingsForExport : 
        ppSettingsTree:IVsProfileSettingsTree byref -> int 
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
);

.NET Framework Security

See Also

Reference

IVsProfileDataManager Interface

IVsProfileDataManager Members

Microsoft.VisualStudio.Shell.Interop Namespace