Compartir a través de


IVsUserSettings2.ImportSettings Method

Imports 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 ImportSettings ( _
    ByRef category As Guid, _
    settingsReader As IVsSettingsReader, _
    flags As UInteger, _
    storageContainer As IVsSettingsStorageContainer _
)
void ImportSettings(
    ref Guid category,
    IVsSettingsReader settingsReader,
    uint flags,
    IVsSettingsStorageContainer storageContainer
)
void ImportSettings(
    [InAttribute] Guid% category, 
    [InAttribute] IVsSettingsReader^ settingsReader, 
    [InAttribute] unsigned int flags, 
    [InAttribute] IVsSettingsStorageContainer^ storageContainer
)
abstract ImportSettings : 
        category:Guid byref * 
        settingsReader:IVsSettingsReader * 
        flags:uint32 * 
        storageContainer:IVsSettingsStorageContainer -> unit
function ImportSettings(
    category : Guid, 
    settingsReader : IVsSettingsReader, 
    flags : uint, 
    storageContainer : IVsSettingsStorageContainer
)

Parameters

  • category
    Type: Guid%

    The GUID of the settings category.

  • flags
    Type: UInt32

    The flags.

  • 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