Compartilhar via


IVsUserSettings2.ImportSettings Method

Definition

Overloads

ImportSettings(Guid, IVsSettingsReader, __UserSettingsFlags, IVsSettingsStorageContainer)
ImportSettings(Guid, IVsSettingsReader, UInt32, IVsSettingsStorageContainer)

Imports the settings.

ImportSettings(Guid, IVsSettingsReader, __UserSettingsFlags, IVsSettingsStorageContainer)

public:
 void ImportSettings(Guid % category, Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader ^ settingsReader, Microsoft::VisualStudio::Shell::Interop::__UserSettingsFlags flags, Microsoft::VisualStudio::Shell::Interop::IVsSettingsStorageContainer ^ storageContainer);
public void ImportSettings (ref Guid category, Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader settingsReader, Microsoft.VisualStudio.Shell.Interop.__UserSettingsFlags flags, Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer storageContainer);
abstract member ImportSettings : Guid * Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader * Microsoft.VisualStudio.Shell.Interop.__UserSettingsFlags * Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer -> unit
Public Sub ImportSettings (ByRef category As Guid, settingsReader As IVsSettingsReader, flags As __UserSettingsFlags, storageContainer As IVsSettingsStorageContainer)

Parameters

category
Guid
settingsReader
IVsSettingsReader
storageContainer
IVsSettingsStorageContainer

Applies to

ImportSettings(Guid, IVsSettingsReader, UInt32, IVsSettingsStorageContainer)

Imports the settings.

public:
 void ImportSettings(Guid % category, Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader ^ settingsReader, System::UInt32 flags, Microsoft::VisualStudio::Shell::Interop::IVsSettingsStorageContainer ^ storageContainer);
public void ImportSettings (ref Guid category, Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader settingsReader, uint flags, Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer storageContainer);
abstract member ImportSettings : Guid * Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer -> unit
Public Sub ImportSettings (ByRef category As Guid, settingsReader As IVsSettingsReader, flags As UInteger, storageContainer As IVsSettingsStorageContainer)

Parameters

category
Guid

The GUID of the settings category.

settingsReader
IVsSettingsReader

The settings reader.

flags
UInt32

The flags.

storageContainer
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).

Applies to