Compartilhar via


DialogPage.SettingsRegistryPath Property

Gets or sets the sub-key under the Visual Studio version-specific root for storing settings data for a dialog page.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Property SettingsRegistryPath As String
protected string SettingsRegistryPath { get; set; }
protected:
property String^ SettingsRegistryPath {
    String^ get ();
    void set (String^ value);
}
member SettingsRegistryPath : string with get, set
function get SettingsRegistryPath () : String 
function set SettingsRegistryPath (value : String)

Property Value

Type: String
The sub-key of the Visual Studio version-specific registry tree that contain the settings for a given dialog page.

Remarks

By default, the path is the full name of the Type that is returned by AutomationObject, which is obtained with AutomationObject.GetType().FullName.

The Visual Studio version-specific registry tree is HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\Version, where Version is the Visual Studio version. An alternate root can be specified when the Visual Studio shell is initialized. For more information, see Command-Line Switches (Visual Studio SDK).

.NET Framework Security

See Also

Reference

DialogPage Class

Microsoft.VisualStudio.Shell Namespace

DialogPage

Other Resources

Command-Line Switches (Visual Studio SDK)

Options Pages

Toolbox (Visual Studio SDK)

State Persistence and the Visual Studio IDE