Condividi tramite


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
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

'Dichiarazione
Protected Property SettingsRegistryPath As String
    Get
    Set
'Utilizzo
Dim value As String

value = Me.SettingsRegistryPath

Me.SettingsRegistryPath = value
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: System.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

DialogPage Members

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