This documentation is archived and is not being maintained.

DialogPage.LoadSettingsFromXml Method

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

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in microsoft.visualstudio.shell.dll)

public virtual void LoadSettingsFromXml (
	IVsSettingsReader reader
)
public void LoadSettingsFromXml (
	IVsSettingsReader reader
)
public function LoadSettingsFromXml (
	reader : IVsSettingsReader
)

Parameters

reader

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

LoadSettingsFromXml implements LoadSettingsFromXml.

This method is called to load a dialog page's settings 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.

NoteNote

Typically an instance of a dialog page class is its own automation object. Therefore, properties retrieved are those of the class 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.

Show: