_DTE.RegistryRoot _DTE.RegistryRoot _DTE.RegistryRoot _DTE.RegistryRoot _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)]
[get: System.Runtime.InteropServices.DispId(239)]
public string RegistryRoot { get; }
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.

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