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
- 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.