Compartilhar via


DialogPage.LoadSettingsFromXml(IVsSettingsReader) Method

Definition

Called by Visual Studio to load the settings of a dialog page from the Visual Studio settings storage on disk.

public:
 virtual void LoadSettingsFromXml(Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader ^ reader);
public:
 virtual void LoadSettingsFromXml(Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader ^ reader);
 virtual void LoadSettingsFromXml(Microsoft::VisualStudio::Shell::Interop::IVsSettingsReader const & reader);
public virtual void LoadSettingsFromXml (Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader reader);
abstract member LoadSettingsFromXml : Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader -> unit
override this.LoadSettingsFromXml : Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader -> unit
Public Overridable Sub LoadSettingsFromXml (reader As IVsSettingsReader)

Parameters

reader
IVsSettingsReader

[in]An IVsSettingsReader interface that is provided by the environment to the VSPackage to give read access to the Visual Studio settings file.

Implements

Remarks

LoadSettingsFromXml implements LoadSettingsFromXml.

This method is called to load the settings of a dialog page from the Visual Studio settings storage on disk.

The default implementation retrieves setting information for all the properties of the dialog page's automation object that support conversion to a string through TypeConverter.

Note

Typically an instance of a dialog page class is its own automation object. Therefore, properties that are retrieved are those of the class that is derived from DialogPage. However, if AutomationObject returns another object, it is that object's properties, and not the properties of the class, that are retrieved.

Applies to