次の方法で共有


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 (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Protected Property SettingsRegistryPath As String
'使用
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);
}
protected function get SettingsRegistryPath () : String
protected function set SettingsRegistryPath (value : String)

Property Value

Type: System.String

The sub-key of the Visual Studio version-specific registry tree containing the settings for a given dialog page.

Remarks

By default the path is the full name of the Type returned by AutomationObject, 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)).

Permissions

See Also

Concepts

Command-Line Switches (Visual Studio SDK)

Tools Options Pages

Toolbox (Visual Studio SDK)

State Persistence and the Visual Studio IDE

Reference

DialogPage Class

DialogPage Members

Microsoft.VisualStudio.Shell Namespace

DialogPage