This documentation is archived and is not being maintained.

DTE2.RegistryRoot Property 

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

Namespace: EnvDTE80
Assembly: EnvDTE80 (in envdte80.dll)

string RegistryRoot { get; }
/** @property */
String get_RegistryRoot ()

function get RegistryRoot () : String

Property Value

The path to the root of the Visual Studio registry settings.

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

Sub RegistryRootExample()
  MsgBox(DTE2.RegistryRoot)
End Sub
Show: