Compartir a través de


DialogPage.LoadSettingsFromXml Method

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaración
Public Overridable Sub LoadSettingsFromXml ( _
    reader As IVsSettingsReader _
)
'Uso
Dim instance As DialogPage
Dim reader As IVsSettingsReader

instance.LoadSettingsFromXml(reader)
public virtual void LoadSettingsFromXml(
    IVsSettingsReader reader
)
public:
virtual void LoadSettingsFromXml(
    IVsSettingsReader^ reader
)
abstract LoadSettingsFromXml : 
        reader:IVsSettingsReader -> unit 
override LoadSettingsFromXml : 
        reader:IVsSettingsReader -> unit 
public function LoadSettingsFromXml(
    reader : IVsSettingsReader
)

Parameters

Implements

IProfileManager.LoadSettingsFromXml(IVsSettingsReader)

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.

Nota

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.

.NET Framework Security

See Also

Reference

DialogPage Class

DialogPage Members

Microsoft.VisualStudio.Shell Namespace

LoadSettingsFromXml

DialogPage

Other Resources

Options Pages

Toolbox (Visual Studio SDK)

State Persistence and the Visual Studio IDE