Partager via


IVsUserSettings2.ExportSettings Method

Exports the settings.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Sub ExportSettings ( _
    ByRef category As Guid, _
    settingsWriter As IVsSettingsWriter, _
    storageContainer As IVsSettingsStorageContainer _
)
void ExportSettings(
    ref Guid category,
    IVsSettingsWriter settingsWriter,
    IVsSettingsStorageContainer storageContainer
)
void ExportSettings(
    [InAttribute] Guid% category, 
    [InAttribute] IVsSettingsWriter^ settingsWriter, 
    [InAttribute] IVsSettingsStorageContainer^ storageContainer
)
abstract ExportSettings : 
        category:Guid byref * 
        settingsWriter:IVsSettingsWriter * 
        storageContainer:IVsSettingsStorageContainer -> unit
function ExportSettings(
    category : Guid, 
    settingsWriter : IVsSettingsWriter, 
    storageContainer : IVsSettingsStorageContainer
)

Parameters

  • category
    Type: Guid%

    The GUID of the settings category.

  • storageContainer
    Type: Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer

    The storageContainer contains unrecognized data stored during the last import of this category. The implementation should merge that data back into the values being exported so that round-tripping between different versions can occur without data loss. This argument is optional (i.e. it may be null).

.NET Framework Security

See Also

Reference

IVsUserSettings2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace