次の方法で共有


IVsUserSettings2.ExportSettings Method

Definition

Exports the settings.

public:
 void ExportSettings(Guid % category, Microsoft::VisualStudio::Shell::Interop::IVsSettingsWriter ^ settingsWriter, Microsoft::VisualStudio::Shell::Interop::IVsSettingsStorageContainer ^ storageContainer);
public void ExportSettings (ref Guid category, Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter settingsWriter, Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer storageContainer);
abstract member ExportSettings : Guid * Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter * Microsoft.VisualStudio.Shell.Interop.IVsSettingsStorageContainer -> unit
Public Sub ExportSettings (ByRef category As Guid, settingsWriter As IVsSettingsWriter, storageContainer As IVsSettingsStorageContainer)

Parameters

category
Guid

The GUID of the settings category.

settingsWriter
IVsSettingsWriter

The settings writer.

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