Compartir a través de


_DTE.RegistryRoot Property

Definition

Gets a string with the path to the root of the Visual Studio registry settings.

public:
 property System::String ^ RegistryRoot { System::String ^ get(); };
public:
 property Platform::String ^ RegistryRoot { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(239)]
public string RegistryRoot { [System.Runtime.InteropServices.DispId(239)] get; }
[<System.Runtime.InteropServices.DispId(239)>]
[<get: System.Runtime.InteropServices.DispId(239)>]
member this.RegistryRoot : string
Public ReadOnly Property RegistryRoot As String

Property Value

A string representing the path to the root of the Visual Studio registry settings.

Attributes

Examples

Sub RegistryRootExample()  
  MsgBox(DTE.RegistryRoot)  
End Sub  

Remarks

Typically the registry root is Software\Microsoft\Visual Studio\<version>\ with either HKLM or HKCU before Software.

Applies to